-
Notifications
You must be signed in to change notification settings - Fork 331
/
package.json
68 lines (68 loc) · 2.79 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
{
"name": "destack-workspace",
"version": "1.0.0",
"workspaces": [
"./lib",
"./dev/nextjs-project",
"./dev/nextjs-app-project",
"./dev/react-project",
"./scripts"
],
"scripts": {
"start": "npm run start:next",
"start:next": "npm start -w dev/nextjs-project",
"start:next-app": "npm start -w dev/nextjs-app-project",
"start:react": "npm start -w dev/react-project",
"dev": "npm run dev:next",
"dev:next": "concurrently -k \"npm run dev -w lib\" \"npm run wait:browser && npm run dev -w dev/nextjs-project\"",
"dev:next-app": "concurrently -k \"npm run dev -w lib\" \"npm run wait:browser && npm run dev -w dev/nextjs-app-project\"",
"dev:react": "concurrently -k \"npm run dev -w lib\" \"npm run wait:browser && npm run dev -w dev/react-project\"",
"wait:browser": "wait-on lib/build/browser/index.js",
"build": "npm run build:next",
"build:next": "npm run build -w lib && npm run build -w dev/nextjs-project",
"build:next-app": "npm run build -w lib && npm run build -w dev/nextjs-app-project",
"build:react": "npm run build -w lib && npm run build -w dev/react-project",
"analyze": "ANALYZE=true npm run build:next",
"screenshots": "npm run screenshots -w scripts",
"preview": "npm run preview -w scripts",
"pretty": "pretty-quick --staged",
"test:e2e": "npm run test:e2e:next && npm run test:e2e:react",
"test:e2e:next": "npm run test:e2e:dev:next && npm run test:e2e:build:next",
"test:e2e:react": "npm run test:e2e:dev:react && npm run test:e2e:build:react",
"test:e2e:dev:next": "playwright test --config=e2e/dev/config.ts",
"test:e2e:build:next": "playwright test --config=e2e/build/config.ts",
"test:e2e:dev:react": "playwright test --config=e2e/dev-react/config.ts",
"test:e2e:build:react": "playwright test --config=e2e/build-react/config.ts",
"check:types": "npm run check:types -w lib",
"export": "npm run export -w lib",
"publish": "npm publish -w lib",
"publish:alpha": "npm run publish:alpha -w lib",
"publish:beta": "npm run publish:beta -w lib",
"prepare": "husky install"
},
"devDependencies": {
"@playwright/test": "^1.15.0",
"@types/node": "^18.16.0",
"@typescript-eslint/eslint-plugin": "^4.25.0",
"@typescript-eslint/parser": "^4.25.0",
"concurrently": "^6.2.0",
"eslint": "^7.27.0",
"eslint-config-next": "^13.4.19",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.3.0",
"pretty-quick": "^3.1.0",
"ts-node-dev": "^2.0.0",
"typescript": "^4.3.2",
"wait-on": "^7.0.1"
},
"lint-staged": {
"*.{js,ts,tsx,jsx}": [
"npm run pretty"
]
}
}