-
Notifications
You must be signed in to change notification settings - Fork 83
/
package.json
77 lines (77 loc) · 2.9 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
{
"private": true,
"name": "root",
"workspaces": {
"packages": [
"packages/*",
"demo"
]
},
"scripts": {
"prepare": "husky install",
"watch": "lerna run watch --parallel",
"watch:demo": "nodemon --watch \"./packages/*/lib/**/*.*\" --exec \"yarn start --no-open\"",
"build": "yarn build-packages && yarn build-demo",
"build-packages": "lerna run build --no-private --stream",
"build-demo": "yarn workspace demo build",
"serve": "yarn workspace demo serve",
"start": "yarn workspace demo start",
"cy:run": "cypress run",
"cy:open": "cypress open",
"format": "prettier . --check --ignore-unknown --ignore-path .gitignore",
"lint": "eslint . --ignore-path .gitignore --ext .ts,.tsx,.js",
"test": "jest",
"test:cypress:dev": "start-server-and-test watch:demo http://localhost:3000 cy:open",
"test:cypress": "start-server-and-test serve http://localhost:3000 cy:run",
"release:changelog": "scripts/changelog.ts",
"release:version": "scripts/version.ts",
"release:publish": "scripts/publish.ts",
"clean": "rm -rf node_modules build demo/.docusaurus demo/build demo/node_modules && find packages -name node_modules -type d -maxdepth 2 -exec rm -rf {} + && find packages -name dist -type d -maxdepth 2 -exec rm -rf {} + && find packages -name lib -type d -maxdepth 2 -exec rm -rf {} + && find packages -name lib-next -type d -maxdepth 2 -exec rm -rf {} +"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/eslint-parser": "^7.16.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0",
"@babel/plugin-proposal-optional-chaining": "^7.16.0",
"@babel/plugin-transform-modules-commonjs": "^7.16.0",
"@babel/preset-typescript": "^7.16.0",
"@testing-library/cypress": "^8.0.1",
"@types/jest": "^27.0.2",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"babel-eslint": "^10.0.0",
"cross-env": "^7.0.3",
"cypress": "^8.7.0",
"eslint": "^7.5.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^25.0.6",
"eslint-plugin-jest-dom": "^3.9.2",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.8",
"eslint-plugin-testing-library": "^4.12.4",
"husky": "^7.0.2",
"jest": "^27.3.1",
"lerna": "^4.0.0",
"lint-staged": "^11.2.3",
"nodemon": "^2.0.15",
"prettier": "^2.4.1",
"semver": "^7.3.5",
"start-server-and-test": "^1.14.0",
"ts-jest": "^27.0.6",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"engines": {
"node": ">=14"
}
}