-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
70 lines (70 loc) · 1.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
{
"name": "root",
"version": "1.2.1",
"private": true,
"description": "Proofdict is a collection of dictionary.",
"keywords": [
"dict"
],
"homepage": "https://github.com/proofdict/proofdict",
"bugs": {
"url": "https://github.com/proofdict/proofdict/issues"
},
"license": "MIT",
"author": "azu",
"repository": {
"type": "git",
"url": "https://github.com/proofdict/proofdict.git"
},
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "lerna run build --ignore website --ignore @proofdict/editor",
"clean": "lerna run clean",
"website": "lerna run build --scope website --scope @proofdict/editor && cp -rf ./packages/@proofdict/editor/build ./website/build/proofdict/editor",
"prepublish": "yarn run clean && yarn run build",
"versionup": "lerna version --conventional-commits",
"versionup:patch": "lerna version patch --conventional-commits",
"versionup:minor": "lerna version minor --conventional-commits",
"versionup:major": "lerna version major --conventional-commits",
"release": "lerna publish from-package",
"test": "lerna run test",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepare": "git config --local core.hooksPath .githooks"
},
"dependencies": {},
"devDependencies": {
"@alrra/travis-scripts": "^3.0.1",
"lerna": "^3.22.1",
"lint-staged": "^11.2.0",
"prettier": "^2.4.1"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
]
},
"prettier": {
"singleQuote": false,
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "none"
},
"workspaces": {
"packages": [
"packages/@proofdict/*",
"website"
],
"nohoist": [
"**/@types/mocha",
"**/@types/mocha/**",
"**/@types/jest",
"**/@types/jest/**"
]
},
"husky": {
"hooks": {
"post-commit": "git reset",
"pre-commit": "lint-staged"
}
}
}