-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
172 lines (172 loc) · 5 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"name": "lerna-uxcool",
"pkgName": "uxcool",
"version": "1.0.0",
"description": "lerna uxcool",
"main": "index.js",
"license": "MIT",
"private": true,
"uxcool": {
"srcPath": "packages/uxcool"
},
"vueCompileOpts": {
"preserveWhitespace": false
},
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "yarn && lerna bootstrap && cd ./examples && yarn install",
"bootstrap:ignore-optional": "yarn --ignore-optional && lerna bootstrap && cd ./examples && yarn install",
"compile:uxcool": "lerna run compile:module --scope @cloud-sn/uxcool",
"build:uxcool": "lerna run build --scope @cloud-sn/uxcool",
"build": "lerna run compile && yarn run build:uxcool",
"build:example": "webpack --config build/webpack/example.js",
"example": "webpack-dev-server --config build/webpack/example-server.js",
"analyzer": "webpack --config build/webpack/analyzer.js",
"jest": "node --inspect-brk ./node_modules/jest/bin/jest.js",
"test-debug": "cross-env BABEL_ENV=test NODE_ENV=test yarn jest",
"test": "cross-env BABEL_ENV=test NODE_ENV=test jest --config=jest.config.js",
"server:upload": "node ./examples/server/server.js",
"release": "node scripts/release.js",
"release:nopublish": "npm run release -- --no-publish",
"changelog": "npm run release -- --changelog-only",
"commit": "git cz",
"lint": "npm run lint:jsx && npm run lint:vue",
"lint-fix": "npm run lint-fix:jsx && npm run lint-fix:vue",
"lint-fix:jsx": "npm run lint:jsx -- --fix",
"lint-fix:vue": "npm run lint:vue -- --fix",
"lint:jsx": "eslint \"packages/uxcool/src/!(extra)/**/*.js?(x)\"",
"lint:vue": "eslint \"packages/uxcool/src/!(extra)/**/*.vue\""
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"scope-case": [
2,
"always",
[
"pascal-case",
"kebab-case"
]
],
"subject-case": [
2,
"always",
[
"lower-case",
"pascal-case"
]
]
}
},
"lint-staged": {
"*.js?(x)": [
"eslint --fix",
"git add"
],
"*.vue": [
"eslint --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"devDependencies": {
"@babel/core": "^7.7.5",
"@babel/plugin-syntax-dynamic-import": "^7.7.4",
"@babel/preset-env": "^7.7.6",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@intervolga/optimize-cssnano-plugin": "^1.0.6",
"@soda/friendly-errors-webpack-plugin": "^1.7.1",
"@types/jest": "^24.0.23",
"@vue/babel-preset-jsx": "^1.1.2",
"@vue/component-compiler": "^4.2.0",
"autoprefixer": "^9.7.3",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-import": "^1.13.0",
"case-sensitive-paths-webpack-plugin": "^2.2.0",
"chalk": "^3.0.0",
"commitizen": "^4.0.3",
"concat-stream": "^2.0.0",
"conventional-changelog": "^3.1.18",
"cross-env": "^6.0.3",
"css-loader": "^3.3.0",
"cz-conventional-changelog": "^3.0.2",
"debug": "^4.1.1",
"eslint": "^6.7.2",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-webpack": "^0.12.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-vue": "^6.0.1",
"esm": "^3.2.25",
"execa": "^3.4.0",
"file-loader": "^5.0.2",
"fs-extra": "^8.1.0",
"globby": "^10.0.1",
"gulp": "^4.0.2",
"gulp-file": "^0.4.0",
"html-webpack-plugin": "^4.0.0-beta.3",
"husky": "^3.1.0",
"inquirer": "^7.0.1",
"jest": "^24.9.0",
"jest-environment-jsdom-fifteen": "^1.0.2",
"jest-serializer-vue": "^2.0.2",
"jest-watch-typeahead": "^0.4.2",
"lerna": "^3.19.0",
"lint-staged": "^9.5.0",
"mini-css-extract-plugin": "^0.8.0",
"postcss": "^7.0.24",
"postcss-load-config": "^2.1.0",
"postcss-loader": "^3.0.0",
"prettier": "^2.0.5",
"pump": "^3.0.0",
"read-pkg": "^5.2.0",
"rimraf": "^3.0.0",
"sass": "^1.23.7",
"sass-loader": "^8.0.0",
"semver": "^7.1.1",
"terser-webpack-plugin": "^2.2.3",
"thread-loader": "^2.1.3",
"through2": "^3.0.1",
"url-loader": "^3.0.0",
"vue": "^2.6.10",
"vue-jest": "^3.0.5",
"vue-loader": "^15.7.2",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.10",
"webpack": "^4.41.2",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0",
"webpack-merge": "^4.2.2",
"yargs": "^15.0.2"
},
"optionalDependencies": {
"fibers": "^4.0.2"
},
"engines": {
"node": ">= 10"
},
"yargs": {
"boolean-negation": false
}
}