-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
48 lines (48 loc) · 1.46 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
{
"name": "microservice_lib",
"version": "1.0.0",
"description": "typescript 生产 util 为微服务",
"main": "index.js",
"scripts": {
"dev": "webpack --config webpack.config --watch",
"build": "webpack --config webpack.config",
"build:b": "npm run build && cp ./dist/util-libs.js examples/browser",
"build:node": "npm run build && cp dist/util-libs.js examples/node/ && node examples/node/util-libs.js",
"serve": "serve -p 8888",
"serve:b": "serve examples/browser -p 8888",
"serve:dist": "serve dist -p 8888",
"start": "npm run build && npm run build:mic && npm run serve:mic",
"build:mic": "webpack --config webpack.mic.js",
"serve:mic": "serve dist-remote -p 8888",
"test": "echo \"Error: no test specified\" && exit 1",
"doc": "typedoc src/index.ts",
"serve:doc": "serve docs -p 9999"
},
"keywords": [
"webpack5",
"typescript",
"microservice",
"微服务",
"util"
],
"author": "",
"license": "ISC",
"dependencies": {
"typedoc": "^0.22.6",
"webpack": "5",
"webpack-cli": "^4.9.1"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.8",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/preset-env": "^7.15.8",
"@babel/preset-typescript": "^7.15.0",
"babel-core": "^6.26.3",
"babel-loader": "^8.2.2",
"babel-preset-env": "^1.7.0",
"core-js": "^3.18.3",
"serve": "^12.0.1",
"typescript": "^4.4.4"
}
}