-
-
Notifications
You must be signed in to change notification settings - Fork 128
/
package.json
96 lines (96 loc) · 4.28 KB
/
package.json
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"private": true,
"workspaces": [
"playground/*",
"packages/*",
"tests"
],
"browserslist": [
"defaults",
"not IE 11",
"maintained node versions"
],
"type": "module",
"ava": {
"files": [
"tests/**/*",
"!tests/utils/**/*",
"!database/**/*"
],
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--conditions=source",
"--no-warnings",
"--loader=ts-node/esm/transpile-only",
"--experimental-specifier-resolution=node"
],
"workerThreads": false
},
"scripts": {
"start": "npm run playground",
"playground": "npm run playground:default",
"playground:load-document": "concurrently --kill-others \"npm --prefix ./playground/frontend run dev\" \"npm --prefix ./playground/backend run dev src/load-document.ts\"",
"playground:express": "concurrently --kill-others \"npm --prefix ./playground/frontend run dev\" \"npm --prefix ./playground/backend run dev src/express.ts\"",
"playground:koa": "concurrently --kill-others \"npm --prefix ./playground/frontend run dev\" \"npm --prefix ./playground/backend run dev src/koa.ts\"",
"playground:default": "concurrently --kill-others \"npm --prefix ./playground/frontend run dev\" \"npm --prefix ./playground/backend run dev src/default.ts\"",
"playground:slow": "concurrently --kill-others \"npm --prefix ./playground/frontend run dev\" \"npm --prefix ./playground/backend run dev src/slow.ts\"",
"playground:redis": "concurrently --kill-others \"npm --prefix ./playground/frontend run dev\" \"npm --prefix ./playground/backend run dev src/redis.ts\"",
"playground:webhook": "concurrently --kill-others \"npm --prefix ./playground/frontend run dev\" \"npm --prefix ./playground/backend run dev src/webhook.ts\"",
"lint:ts": "tsc --noEmit -p tsconfig.json --composite false",
"lint": "eslint --quiet --no-error-on-unmatched-pattern ./ && npm run lint:ts",
"lint:fix": "eslint --fix --quiet --no-error-on-unmatched-pattern ./",
"test": "ava",
"test:watch": "ava --watch",
"build:packages": "npm run clean:packages && rollup -c",
"build:watch": "npm run clean:packages && rollup -wc",
"clean:packages": "rm -Rf ./packages/*/dist",
"release:major": "lerna version major --force-publish",
"release:major:pre": "lerna version premajor --force-publish --preid rc",
"release:minor": "lerna version minor --force-publish",
"release:minor:pre": "lerna version preminor --force-publish --preid rc",
"release:patch": "lerna version patch --force-publish",
"release:patch:pre": "lerna version prepatch --force-publish --preid rc",
"release:pre": "lerna version prerelease --force-publish --preid rc",
"publish": "npm run build:packages && lerna exec --since --no-private -- npm publish --access public",
"publish:pre": "npm run build:packages && lerna exec --since --no-private -- npm publish --tag next --access public",
"reset": "npm run clean:packages && rm -Rf ./**/.cache && rm -Rf ./**/.temp && rm -Rf ./**/node_modules && rm -Rf ./package-lock.json && npm install",
"ncu": "ncu -i --deep && npm install"
},
"devDependencies": {
"@atomico/rollup-plugin-sizes": "^1.1.4",
"@ava/typescript": "^3.0.1",
"@babel/core": "7.18.6",
"@babel/eslint-parser": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@lerna/batch-packages": "^3.16.0",
"@lerna/filter-packages": "^4.0.0",
"@lerna/project": "^5.5.1",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-json": "^5.0.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"ava": "^4.3.3",
"concurrently": "^6.4.0",
"eslint": "^8.11.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-unused-imports": "^2.0.0",
"eslint-plugin-vue": "^8.5.0",
"lerna": "^6.6.1",
"minimist": "^1.2.5",
"rollup": "^2.70.1",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-import-assertions": "^0.4.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.31.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"uuid": "^8.3.2"
},
"name": "hocuspocus"
}