forked from jd-opensource/micro-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 4.61 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
{
"name": "@micro-zoe/micro-app",
"version": "1.0.0-rc.4",
"description": "A lightweight, efficient and powerful micro front-end framework",
"private": false,
"main": "lib/index.min.js",
"module": "lib/index.esm.js",
"types": "lib/index.d.ts",
"directories": {
"doc": "docs"
},
"scripts": {
"bootstrap": "yarn && npm-run-all --serial install:*",
"start": "yarn start:main-react16",
"start:main-react16": "npm-run-all --parallel build:watch start-child:* main-react16",
"start:main-vue2": "npm-run-all --parallel build:watch start-child:* main-vue2",
"start:main-vite": "npm-run-all --parallel build:watch start-child:* main-vite",
"build:watch": "cross-env NODE_ENV='development' rollup -c -w",
"build": "cross-env NODE_ENV='production' rollup -c && npm run createtype && npm run afterbuild",
"install:main-react16": "cd dev/main-react16 && yarn",
"install:main-vue2": "cd dev/main-vue2 && yarn",
"install:main-vite": "cd dev/main-vite && yarn",
"install:child-react16": "cd dev/children/react16 && yarn",
"install:child-react17": "cd dev/children/react17 && yarn",
"install:child-vue2": "cd dev/children/vue2 && yarn",
"install:child-vue3": "cd dev/children/vue3 && yarn",
"install:child-vite2": "cd dev/children/vite2 && yarn",
"install:child-vite4": "cd dev/children/vite4 && yarn",
"install:child-angular11": "cd dev/children/angular11 && yarn",
"main-react16": "cd dev/main-react16 && yarn start",
"main-vue2": "cd dev/main-vue2 && yarn start",
"main-vite": "cd dev/main-vite && yarn start",
"start-child:react16": "cd dev/children/react16 && yarn start",
"start-child:react17": "cd dev/children/react17 && yarn start",
"start-child:vue2": "cd dev/children/vue2 && yarn start",
"start-child:vue3": "cd dev/children/vue3 && yarn start",
"start-child:vite2": "cd dev/children/vite2 && yarn start",
"start-child:vite4": "cd dev/children/vite4 && yarn start",
"start-child:angular11": "cd dev/children/angular11 && yarn start",
"docs": "docsify serve docs --port 2000",
"lint": "eslint --cache '**/*.{js,ts}'",
"lint:fix": "yarn lint --fix",
"createtype": "node scripts/create_type.js",
"afterbuild": "node scripts/after_build.js",
"test:server": "node scripts/test_server.js --start",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:unit": "jest src/__tests__/unit",
"test:unit:coverage": "npm run test:unit -- --coverage",
"prepublishOnly": "yarn build"
},
"repository": {
"type": "git",
"url": "https://github.com/micro-zoe/micro-app.git"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"webcomponents",
"micro-frontend",
"microapp"
],
"files": [
"es",
"lib",
"polyfill",
"plugins",
"typings"
],
"author": "cangdu",
"license": "MIT",
"bugs": {
"url": "https://github.com/micro-zoe/micro-app/issues"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"**/*.{js,ts}": [
"yarn lint"
]
},
"dependencies": {},
"devDependencies": {
"@babel/core": "~7.12.10",
"@babel/plugin-transform-runtime": "~7.12.10",
"@babel/preset-env": "~7.12.11",
"@babel/runtime": "~7.12.5",
"@commitlint/cli": "~11.0.0",
"@commitlint/config-conventional": "~11.0.0",
"@rollup/plugin-babel": "~5.2.2",
"@rollup/plugin-node-resolve": "~11.0.1",
"@rollup/plugin-replace": "~2.4.1",
"@rollup/plugin-typescript": "~8.1.0",
"@types/jest": "~26.0.24",
"@types/node": "~14.14.19",
"@typescript-eslint/eslint-plugin": "~4.11.1",
"@typescript-eslint/parser": "~4.11.1",
"@webcomponents/webcomponentsjs": "~2.5.0",
"babel-jest": "~26.6.0",
"chalk": "~4.1.0",
"coveralls": "~3.1.1",
"cross-env": "~7.0.3",
"custom-elements-es5-adapter": "~1.0.0",
"docsify-cli": "~4.4.2",
"dts-bundle": "~0.7.3",
"eslint": "~7.17.0",
"eslint-config-standard": "~16.0.2",
"eslint-plugin-import": "~2.22.1",
"eslint-plugin-jest": "~24.3.6",
"eslint-plugin-node": "~11.1.0",
"eslint-plugin-promise": "~4.2.1",
"eslint-plugin-standard": "~5.0.0",
"fs-extra": "~10.0.0",
"gzip-size": "~6.0.0",
"husky": "~4.3.6",
"jest": "~26.6.0",
"lint-staged": "~10.5.3",
"live-server": "~1.2.1",
"node-fetch": "~2.6.1",
"npm-run-all": "~4.1.5",
"pretty-bytes": "~5.5.0",
"react": "~17.0.2",
"rollup": "~2.35.1",
"rollup-plugin-terser": "~7.0.2",
"ts-jest": "~26.5.6",
"typescript": "~4.1.3"
}
}