-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
30 lines (30 loc) · 927 Bytes
/
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": "preset-env-modules",
"version": "2.1.0",
"description": "Demonstrate Babel Preset Env with ESModules Support.",
"main": "index.js",
"author": "Kristofer Baxter",
"license": "Apache-2.0",
"engines": {
"yarn": ">=1.7.0",
"node": ">=8.10.0"
},
"scripts": {
"prestart": "rimraf dist/*; cp server.mjs expose.js dist/",
"start": "yarn build; node -r esm dist/server.mjs",
"build": "yarn build:modules & yarn build:nomodules & wait",
"build:modules": "BABEL_ENV=esmodules yarn babel input.mjs -o dist/output-modules.mjs",
"build:nomodules": "BABEL_ENV=nomodules yarn babel input.mjs -o dist/output-nomodules.js"
},
"dependencies": {
"polka": "0.4.0"
},
"devDependencies": {
"@babel/cli": "7.5.0",
"@babel/core": "7.5.4",
"@babel/preset-env": "7.5.4",
"babel-plugin-inline-replace-variables": "1.3.1",
"esm": "3.1.0",
"rimraf": "3.0.0"
}
}