mirror of
https://github.com/embarklabs/EmbarkJS.git
synced 2025-01-24 11:19:43 +00:00
cleanup scripts
This commit is contained in:
parent
3497d3bb02
commit
e7ab2094ae
8
.babelrc
8
.babelrc
@ -1,9 +1,11 @@
|
|||||||
{
|
{
|
||||||
|
"comments": false,
|
||||||
"compact": false,
|
"compact": false,
|
||||||
"presets": [
|
"ignore": ["src/browser.js"],
|
||||||
["@babel/env", {"targets": {"node": "8.11.3"}}]
|
|
||||||
],
|
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"@babel/plugin-transform-runtime"
|
"@babel/plugin-transform-runtime"
|
||||||
|
],
|
||||||
|
"presets": [
|
||||||
|
["@babel/env", {"targets": {"node": "8.11.3"}}]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -10,12 +10,11 @@
|
|||||||
"src"
|
"src"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm run clean && npm run build-babel && npm run build-webpack",
|
"babel": "babel --out-dir dist src",
|
||||||
"build-babel": "babel --ignore 'src/browser.js' --out-dir dist src",
|
"build": "npm run clean && npm run babel && npm run webpack",
|
||||||
"build-webpack": "npm run webpack",
|
|
||||||
"clean": "rimraf dist embark.min.js embarkjs-*.tgz package",
|
"clean": "rimraf dist embark.min.js embarkjs-*.tgz package",
|
||||||
|
"http-server": "http-server",
|
||||||
"prepare": "npm run build",
|
"prepare": "npm run build",
|
||||||
"server": "http-server",
|
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"webpack": "webpack"
|
"webpack": "webpack"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user