-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 2.16 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "notepad",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"start": "pnpm install; run-p start:*",
"start:server": "NODE_ENV=development tsx --watch ./src/server/index.ts",
"start:client": "NODE_ENV=development vite src/client -c vite.config.ts",
"clean": "rm -rf public common server bundle.zip",
"prebuild": "pnpm run clean",
"build": "export NODE_ENV=production && run-p build:*",
"build:server": "tsc --project ./src/server/tsconfig.json",
"build:client": "vite build src/client -c vite.config.ts",
"sw": "cp src/client/assets/sw.js public/assets/sw.js",
"test": "vitest --run",
"test:watch": "vitest --watch",
"test:server": "pnpm build && node server/index.js",
"type": "run-s type:check:*",
"type:check:client": "tsc --noEmit -p ./src/client/tsconfig.json",
"type:check:server": "tsc --noEmit -p ./src/server/tsconfig.json",
"type:watch": "run-p type:watch:*",
"type:watch:client": "pnpm run type:check:client --watch",
"type:watch:server": "pnpm run type:check:server --watch",
"bundle": "zip -q -r bundle.zip public server common package.json pnpm_lock.json pm2_dev.json pm2_prod.json",
"deploy": "./scripts/deploy.sh"
},
"dependencies": {
"@koa/cors": "^5.0.0",
"@koa/router": "^13.1.0",
"github-markdown-css": "^5.8.1",
"koa": "2.15.3",
"koa-bodyparser": "^4.4.1",
"koa-compress": "^5.1.1",
"koa-logger": "^3.2.1",
"koa-send": "^5.0.1",
"markdown-it": "^14.1.0",
"mongodb": "^6.12.0",
"node-diff3": "^3.1.2",
"socket.io": "^4.8.1",
"socket.io-client": "^4.8.1",
"string-hash": "^1.1.3"
},
"devDependencies": {
"@types/koa": "2.15.0",
"@types/koa-bodyparser": "^4.3.12",
"@types/koa-compress": "^4.0.6",
"@types/koa-logger": "^3.1.5",
"@types/koa-send": "^4.1.6",
"@types/koa__router": "^12.0.4",
"@types/node": "^22.10.5",
"@types/string-hash": "^1.1.3",
"npm-run-all": "^4.1.5",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"vite": "^6.0.7",
"vitest": "^2.1.8"
},
"author": "FallenMax@gmail.com",
"license": "ISC",
"description": "A quick cover of original notepad.cc"
}