-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
30 lines (30 loc) · 1.2 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
{
"name": "@gyron/dom-server",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"version": "0.0.37",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "yarn build:dts && yarn build:esm && yarn build:cjs && yarn build:browser",
"build:esm": "esbuild src/index.ts --bundle --sourcemap --outfile=dist/esm/index.js --format=esm --platform=node --external:@gyron/* --define:__DEV__=false --define:__WARN__=true",
"build:cjs": "esbuild src/index.ts --bundle --sourcemap --outfile=dist/cjs/index.js --format=cjs --platform=node --external:@gyron/* --define:__DEV__=false --define:__WARN__=true",
"build:browser": "esbuild src/index.ts --bundle --sourcemap --outfile=dist/browser/index.js --format=esm --platform=browser --external:@gyron/* --define:__DEV__=false --define:__WARN__=true --minify",
"build:dts": "rollup -c ../../rollup.config.js",
"test": "cross-env PACKAGES=dom-server jest --config=../../jest.config.js"
},
"devDependencies": {
"@gyron/logger": "^0.0.37",
"@gyron/shared": "^0.0.37"
},
"dependencies": {
"@gyron/runtime": "^0.0.37"
}
}