-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
123 lines (123 loc) · 4.97 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"private": true,
"workspaces": [
"packages/*"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write",
"git add"
],
"*.ts?(x)": [
"prettier --parser=typescript --write",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-lerna-changelog"
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
],
"scripts": {
"dev:docs": "vuepress dev docs",
"build:docs": "vuepress build docs",
"publish:docs": "bash docs/deploy.sh",
"commit": "git-cz",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: 更新changelog' && git push",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"bootstrap:lerna": "lerna bootstrap",
"bootstrap": "run-s clean bootstrap:lerna",
"clean": "rimraf package-lock.json yarn.lock packages/*/node_modules packages/*/package-lock.json packages/*/yarn.lock",
"release": "run-s build publish:lerna",
"publish:lerna": "lerna publish patch --exact",
"publish:alpha": "lerna publish --preid=alpha --exact",
"publish:next": "lerna publish --preid=beta --dist-tag=next --exact",
"build": "lerna run build",
"build:qilin": "lerna exec --scope qilin -- rollup -c rollup.config.js --environment NODE_ENV:production",
"dev:qilin": "lerna exec --scope qilin -- rollup -wc rollup.config.js --environment NODE_ENV:development",
"build:qilin-cli": "lerna exec --scope @qilinjs/cli -- rollup -c rollup.config.js --environment NODE_ENV:production",
"dev:qilin-cli": "lerna exec --scope @qilinjs/cli -- rollup -wc rollup.config.js --environment NODE_ENV:development",
"build:qilin-webpack": "lerna exec --scope @qilinjs/webpack -- rollup -c rollup.config.js --environment NODE_ENV:production",
"dev:qilin-webpack": "lerna exec --scope @qilinjs/webpack -- rollup -wc rollup.config.js --environment NODE_ENV:development",
"build:qilin-utils": "lerna exec --scope @qilinjs/utils -- rollup -c rollup.config.js --environment NODE_ENV:production",
"dev:qilin-utils": "lerna exec --scope @qilinjs/utils -- rollup -wc rollup.config.js --environment NODE_ENV:development",
"build:create-qilin-app": "lerna run --scope @qilinjs/create-qilin-app build",
"dev:create-qilin-app": "lerna run --scope @qilinjs/create-qilin-app dev",
"test": "jest --coverage",
"test:ci": "jest --coverage --coverageReporters=text-lcov | coveralls"
},
"devDependencies": {
"@babel/core": "^7.7.4",
"@babel/plugin-external-helpers": "^7.10.4",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-proposal-do-expressions": "^7.10.4",
"@babel/plugin-proposal-export-default-from": "^7.10.4",
"@babel/plugin-proposal-export-namespace-from": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.7.4",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-async-to-generator": "^7.10.4",
"@babel/plugin-transform-regenerator": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.11.0",
"@babel/preset-env": "^7.7.4",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.7.4",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@commitlint/config-lerna-scopes": "^9.1.1",
"@rollup/plugin-alias": "^3.1.1",
"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"@rollup/plugin-replace": "^2.3.3",
"@testing-library/jest-dom": "^5.11.1",
"@testing-library/react": "^10.4.7",
"@testing-library/user-event": "^12.0.11",
"@types/jest": "^24.0.23",
"@types/prettier": "^2.0.2",
"@typescript-eslint/eslint-plugin": "^2.8.0",
"@typescript-eslint/parser": "^2.8.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-plugin-dev-expression": "^0.2.2",
"babel-polyfill": "^6.26.0",
"commitizen": "^4.0.3",
"conventional-changelog-cli": "^2.0.28",
"coveralls": "^3.0.9",
"cz-lerna-changelog": "^2.0.2",
"eslint": "^6.3.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.8",
"glob": "^7.1.6",
"husky": "^3.0.9",
"jest": "^26.1.0",
"lerna": "^3.19.0",
"lint-staged": "^9.4.3",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"prettier-eslint": "^11.0.0",
"rimraf": "^3.0.0",
"rollup": "2.23.0",
"rollup-plugin-clear": "^2.0.7",
"rollup-plugin-filesize": "^9.0.2",
"rollup-plugin-progress": "^1.1.2",
"rollup-plugin-terser": "^6.1.0",
"rollup-plugin-typescript2": "^0.27.1",
"typescript": "^3.9.7",
"vuepress": "^1.2.0"
}
}