/
package.json
54 lines (54 loc) · 1.68 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
{
"name": "wix-code-project",
"version": "0.1.0",
"private": true,
"scripts": {
"build": "rm -rf dist && npm run build:backend && npm run build:frontend",
"build:backend": "rm -rf dist/backend && tsc --build typescript/backend/tsconfig.json && npx wix-code-ts build-backend",
"build:frontend": "rm -rf dist/frontend && tsc --build typescript/frontend/tsconfig.json && npx wix-code-ts build-frontend",
"build:check-dependencies": "depcruise --config .dependency-cruiser.js typescript",
"build:watch:backend": "npm-watch build:backend",
"build:watch:frontend": "npm-watch build:frontend",
"build:watch:check-dependencies": "npm-watch build:check-dependencies",
"build:watch": "run-p build:watch:*",
"wix:pull": "npx corvid pull --override",
"wix:editor": "npx corvid open-editor",
"wix": "npm run wix:pull && npm run build && npm run wix:editor"
},
"watch": {
"build:backend": {
"patterns": [
"typescript/backend"
],
"extensions": "ts"
},
"build:frontend": {
"patterns": [
"typescript/frontend",
"typescript/backend/universal"
],
"extensions": "ts"
},
"build:check-dependencies": {
"patterns": [
"typescript/backend",
"typescript/frontend"
],
"extensions": "ts"
}
},
"devDependencies": {
"@types/lodash": "^4.14.182",
"corvid-cli": "^0.2.14",
"corvid-types": "^0.4.277",
"dependency-cruiser": "^11.12.0",
"npm-run-all": "^4.1.5",
"npm-watch": "^0.11.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
"dependencies": {
"@astrauka/wix-code-typescript-wrapper": "file:..",
"lodash": "4.17.21"
}
}