-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
59 lines (59 loc) · 1.96 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
{
"name": "micro-app-mobile-code",
"version": "0.0.1",
"description": "micro-app demo",
"main": "index.js",
"dependencies": {},
"devDependencies": {
"lint-staged": "^10.5.1",
"npm-run-all": "^4.1.5"
},
"scripts": {
"install": "npm-run-all --serial install:*",
"install:main": "cd main && npm i",
"install:sub-first": "cd sub-first && npm i",
"install:sub-second": "cd sub-second && npm i",
"start": "npm-run-all --parallel start:*",
"start:main": "cd main && npm start",
"start:sub-first": "cd sub-first && npm start",
"start:sub-second": "cd sub-second && npm start",
"build": "npm-run-all build:* && bash ./scripts/bundle.sh",
"build:sub-home": "cd sub-home && npm run build",
"build:sub-first": "cd sub-first && npm run build",
"build:main": "cd main && npm run build",
"test": "echo \"Error: no test specified\" && exit 1",
"autofix": "npm-run-all --parallel autofix:*",
"autofix:main": "cd main && eslint --fix --ext .js,.vue,.ts src",
"autofix:sub-first": "cd sub-first && eslint --fix --ext .js,.vue,.ts src",
"autofix:sub-second": "cd sub-second && eslint --fix --ext .js,.vue,.ts src",
"stylelint": "npm-run-all --parallel stylelint:*",
"stylelint:main": "cd main && stylelint src/**/**/*.{html,vue,css,sass,scss} --fix",
"stylelint:sub-first": "cd sub-first && stylelint src/**/**/*.{html,vue,css,sass,scss} --fix",
"stylelint:sub-second": "cd sub-second && stylelint src/**/**/*.{html,vue,css,sass,scss} --fix"
},
"repository": {
"type": "git",
"url": "https://github.com/liugangtaotie/micro-app-mobile-code"
},
"keywords": [
"vite",
"vue2",
"micro-app",
"micro-app-example",
"demo"
],
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,ts,vue}": [
"yarn autofix"
],
"*.{html,vue,css,sass,scss}": [
"yarn stylelint"
]
},
"author": "wuxiang",
"license": "MIT",
"__npminstall_done": false
}