forked from hulinNeil/micro-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.85 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
{
"name": "micro-app",
"version": "0.0.1",
"description": "",
"scripts": {
"build:v2:h6": "cross-env NODE_ENV=dev PLATFORM=h5 webpack --config build/webpack.config1.js",
"dev:h5": "cross-env NODE_ENV=dev PLATFORM=h5 webpack -w --config build/webpack.config.js",
"dev:app": "cross-env NODE_ENV=dev PLATFORM=app webpack -w --config build/webpack.config.js",
"build:h5": "cross-env NODE_ENV=production PLATFORM=h5 webpack --config build/webpack.config.js",
"build:app": "cross-env NODE_ENV=production PLATFORM=app webpack --config build/webpack.config.js",
"build:jsBridge": "webpack --config build/webpack.jsBridge.js",
"build:template-parser": "ts-node-dev compiler/v0.2/rollup.templateParser.ts",
"compiler:v2": "ts-node-dev compiler/v0.2/rollup.build.ts",
"compiler:v2:watch": "ts-node-dev compiler/v0.2/rollup.watch.ts",
"compiler:v1": "ts-node-dev compiler/v0.1/index.ts",
"test": "jest --runInBand --forceExit --colors --detectOpenHandles"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"eventemitter3": "^4.0.7",
"history": "^5.0.0",
"rollup": "^2.45.2",
"webpack": "^5.34.0"
},
"devDependencies": {
"@babel/core": "^7.13.16",
"@babel/generator": "^7.14.3",
"@babel/parser": "^7.14.3",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-transform-runtime": "^7.13.15",
"@babel/preset-env": "^7.13.15",
"@babel/preset-typescript": "^7.13.0",
"@babel/runtime": "^7.13.17",
"@babel/traverse": "^7.14.2",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-inject": "^4.0.3",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-replace": "^2.4.2",
"@types/babel__core": "^7.1.14",
"@types/babel__preset-env": "^7.9.1",
"@types/fs-extra": "^9.0.11",
"@types/jest": "^26.0.23",
"@types/node": "^15.12.1",
"@types/postcss-import": "^12.0.0",
"babel-loader": "^8.2.2",
"chokidar": "^3.5.3",
"cross-env": "^7.0.3",
"css-loader": "^5.2.4",
"domhandler": "^4.3.0",
"fs-extra": "^10.0.0",
"html-webpack-plugin": "^5.3.1",
"htmlparser2": "^6.1.0",
"jest": "^27.0.6",
"mini-css-extract-plugin": "^2.1.0",
"postcss": "^8.3.5",
"postcss-import": "^14.0.2",
"rollup-plugin-serve": "^2.0.0",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "^28.0.5",
"ts-loader": "^9.0.2",
"ts-node-dev": "^2.0.0",
"tslib": "^2.2.0",
"typescript": "^4.2.4",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "compiler",
"testRegex": ".test.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage"
}
}