-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.91 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
{
"name": "@barusu/root",
"version": "0.0.0",
"author": {
"name": "guanghechen",
"url": "https://github.com/guanghechen/"
},
"repository": {
"type": "git",
"url": "https://github.com/guanghechen/barusu.git"
},
"homepage": "https://github.com/guanghechen/barusu/#readme",
"license": "MIT",
"private": true,
"engines": {
"node": ">=14.15.0"
},
"scripts": {
":publish": "yarn test && lerna publish",
":upgrade": "yarn upgrade-interactive --latest && run-s clean format build test",
"build": "lerna run --concurrency 1 build",
"clean": "lerna clean --yes && yarn install",
"format": "run-s format:find-inconsistent format:lint:fix format:prettier",
"format:prettier": "prettier --write .",
"format:find-inconsistent": "node ./node_modules/@barusu/tool-find-inconsistent/lib/cjs/cli.js .",
"format:lint:fix": "eslint . --fix",
"format:sort-imports": "node ./node_modules/@barusu/tool-sort-imports/lib/cjs/cli.js .",
"prepublishOnly": "pinst --disable",
"postinstall": "run-p postinstall:**",
"postinstall:main": "is-ci || yarn update:lock",
"postinstall:dev": "is-ci || husky install",
"rebuild": "yarn clean && yarn build",
"test": "lerna exec --concurrency 1 'npm run test --if-present'",
"test:coverage": "lerna run test --concurrency 1 -- --coverage",
"test:update": "lerna exec --concurrency 1 'npm run test:update --if-present'",
"update:changelog": "gitmoji-changelog update",
"update:lock": "yarn-deduplicate"
},
"workspaces": [
"packages/*"
],
"devDependencies": {
"@babel/core": "7.14.8",
"@babel/eslint-parser": "^7.14.7",
"@guanghechen/eslint-config": "^1.8.0",
"@guanghechen/eslint-config-ts": "^1.8.0",
"@guanghechen/jest-config": "^1.8.0",
"@guanghechen/jest-helper": "^1.8.0",
"@guanghechen/rollup-config": "^1.8.0",
"@guanghechen/rollup-config-cli": "^1.8.0",
"@types/fs-extra": "^9.0.12",
"@types/jest": "^26.0.24",
"@types/node": "^16.4.0",
"@types/rimraf": "^3.0.1",
"@types/supertest": "^2.0.11",
"@types/webpack": "^4.41.29",
"chalk": "^4.1.1",
"cross-env": "^7.0.3",
"eslint": "^7.31.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^24.3.7",
"eslint-plugin-prettier": "^3.4.0",
"fs-extra": "^10.0.0",
"gitmoji-changelog": "^2.2.1",
"husky": "^7.0.1",
"is-ci": "^3.0.0",
"jest": "^27.0.6",
"lerna": "^4.0.0",
"lint-staged": "^11.0.1",
"npm-run-all": "^4.1.5",
"pinst": "^2.1.6",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"rollup": "^2.53.2",
"supertest": "^6.1.4",
"ts-jest": "^27.0.3",
"ts-node": "^10.1.0",
"tsconfig-paths": "^3.10.1",
"typescript": "^4.3.5",
"yarn-deduplicate": "^3.1.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,eslintrc}": [
"prettier --write"
]
}
}