-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 3.06 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
{
"name": "@_nu/react",
"private": true,
"publishConfig": {
"access": "public"
},
"scripts": {
"cz": "git add . && git-cz",
"sc:button": "yarn workspace @_nu/css-button start",
"sc:dialog": "yarn workspace @_nu/css-dialog start",
"sc:input": "yarn workspace @_nu/css-input start",
"sc:textarea": "yarn workspace @_nu/css-textarea start",
"sc:toast": "yarn workspace @_nu/css-toast start",
"bc:button": "yarn workspace @_nu/css-button build",
"bc:dialog": "yarn workspace @_nu/css-dialog build",
"bc:input": "yarn workspace @_nu/css-input build",
"bc:textarea": "yarn workspace @_nu/css-textarea build",
"bc:toast": "yarn workspace @_nu/css-toast build",
"build:css": "npm-run-all bc:*",
"build:react": "father build",
"br:button": "PACKAGE=react-button father build",
"br:avatar": "PACKAGE=react-avatar father build",
"br:modal": "PACKAGE=react-modal father build",
"br:dialog": "PACKAGE=react-dialog father build",
"br:img": "PACKAGE=react-img father build",
"br:select": "PACKAGE=react-select father build",
"br:toast": "PACKAGE=react-toast father build",
"br:switch": "PACKAGE=react-switch father build",
"sr:button": "yarn workspace @_nu/react-button nwb serve-react-demo",
"sr:avatar": "yarn workspace @_nu/react-avatar nwb serve-react-demo",
"sr:modal": "yarn workspace @_nu/react-modal nwb serve-react-demo",
"sr:dialog": "yarn workspace @_nu/react-dialog nwb serve-react-demo",
"sr:img": "yarn workspace @_nu/react-img nwb serve-react-demo",
"sr:select": "yarn workspace @_nu/react-select nwb serve-react-demo",
"sr:toast": "yarn workspace @_nu/react-toast nwb serve-react-demo",
"sr:switch": "yarn workspace @_nu/react-switch nwb serve-react-demo"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-lerna-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"packages/**/*.{js,jsx,mjs,ts,tsx}": [
"prettier --write",
"eslint --fix",
"git add ."
],
"packages/**/*.{css,scss,less,json,html,md,markdown}": [
"prettier --write",
"git add ."
]
},
"workspaces": [
"packages/*"
],
"devDependencies": {
"@commitlint/cli": "^9.0.1",
"@commitlint/config-conventional": "^9.0.1",
"@types/react": "^16.9.43",
"@types/react-dom": "^16.9.8",
"babel-jest": "^26.1.0",
"classnames": "^2.2.6",
"commitizen": "^4.1.2",
"cz-lerna-changelog": "^2.0.3",
"e2-cli": "^1.2.1",
"eslint-config-airbnb": "^18.2.1",
"father": "^2.29.5",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^7.0.1",
"gulp-clean-css": "^4.2.0",
"gulp-connect": "^5.7.0",
"gulp-less": "^4.0.1",
"gulp-rename": "^2.0.0",
"gulp-sass": "^4.0.2",
"husky": "^4.2.5",
"jest": "24.9.0",
"lerna": "^3.22.1",
"lint-staged": "^10.2.11",
"node-sass": "npm:dart-sass",
"npm-run-all": "^4.1.5",
"nwb": "^0.25.2",
"prettier": "^2.0.5",
"standard": "^14.3.4"
}
}