forked from remaxjs/remax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.69 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
{
"name": "root",
"private": true,
"version": "1.0.0",
"scripts": {
"watch": "lerna run watch --parallel",
"build": "lerna run build --ignore website",
"test": "lerna run --scope remax --stream test",
"clean": "lerna clean",
"readme:copy": "lerna exec 'cp ../../README.md' . --scope remax --scope remax-cli",
"readme:clean": "lerna exec 'rm README.md' --scope remax --scope remax-cli",
"prepack": "lerna exec -- rm -rf lib && lerna run build && npm run readme:copy",
"postpack": "npm run readme:clean",
"prepublishOnly": "npm run lint && npm run test",
"postinstall": "lerna bootstrap",
"lint": "eslint 'packages/*/src/**/*.{ts,tsx}'",
"release": "lerna publish --force-publish --create-release=github",
"site:build": "lerna run --scope website --stream build",
"site:deploy": "lerna run --scope website --stream deploy",
"authors": "./scripts/authors"
},
"dependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"eslint": "^6.2.1",
"eslint-config-prettier": "^6.1.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"husky": "^3.0.2",
"lerna": "^3.4.3",
"prettier": "^1.18.2",
"typescript": "^3.5.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.{md,js,jsx}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"lint-staged": ">=8"
}
}