-
Notifications
You must be signed in to change notification settings - Fork 103
/
package.json
42 lines (42 loc) · 1.11 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
{
"name": "my-custom-server",
"version": "0.1.0",
"description": "我的自定义资产包",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/antvis/G6VP.git"
},
"sideEffects": [
"*.css",
"*.less"
],
"files": [
"dist",
"lib",
"es"
],
"scripts": {
"build": "npm run clean && npm run build:es & npm run build:umd",
"build:es": "father build",
"build:umd": "webpack --mode production -c ../../webpack.config.js --env path=/packages/my-custom-server",
"build:umd:watch": "webpack --mode production -c ../../webpack.config.js --env path=/packages/my-custom-server watch=true",
"clean": "rimraf es esm lib dist",
"prettier": "prettier --write ./src/**/**/**/*.js",
"start": "npm run clean && father build --watch",
"test": "jest",
"server": "http-server ./dist -p 9527"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@antv/gi-sdk": "workspace:*"
},
"devDependencies": {
"http-server": "^14.1.1"
},
"private": true
}