mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-24 14:37:58 +01:00
babel rc
This commit is contained in:
parent
68df877e1d
commit
9fc1ba1cb8
11
.babelrc
11
.babelrc
@ -9,18 +9,17 @@
|
||||
},
|
||||
"modules": false
|
||||
}],
|
||||
"stage-0",
|
||||
"react"
|
||||
]
|
||||
},
|
||||
"main": {
|
||||
"presets": ["env", "react"]
|
||||
"presets": ["env", "stage-0", "react"]
|
||||
}
|
||||
},
|
||||
"plugins": [
|
||||
"babel-plugin-transform-object-rest-spread",
|
||||
"babel-plugin-transform-class-properties",
|
||||
"babel-plugin-transform-runtime",
|
||||
"babel-plugin-transform-es2015-classes",
|
||||
"babel-plugin-transform-class-properties"
|
||||
"transform-object-rest-spread",
|
||||
"transform-runtime",
|
||||
"transform-es2015-classes"
|
||||
]
|
||||
}
|
||||
|
43
package-lock.json
generated
43
package-lock.json
generated
@ -757,12 +757,6 @@
|
||||
"babel-runtime": "6.26.0"
|
||||
}
|
||||
},
|
||||
"babel-plugin-add-module-exports": {
|
||||
"version": "0.2.1",
|
||||
"resolved": "https://registry.npmjs.org/babel-plugin-add-module-exports/-/babel-plugin-add-module-exports-0.2.1.tgz",
|
||||
"integrity": "sha1-mumh9KjcZ/DN7E9K7aHkOl/2XiU=",
|
||||
"dev": true
|
||||
},
|
||||
"babel-plugin-check-es2015-constants": {
|
||||
"version": "6.22.0",
|
||||
"resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz",
|
||||
@ -772,15 +766,6 @@
|
||||
"babel-runtime": "6.26.0"
|
||||
}
|
||||
},
|
||||
"babel-plugin-inline-import": {
|
||||
"version": "2.0.6",
|
||||
"resolved": "https://registry.npmjs.org/babel-plugin-inline-import/-/babel-plugin-inline-import-2.0.6.tgz",
|
||||
"integrity": "sha1-ijwXlWG1A79K8xnzytQ15reyhjw=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"require-resolve": "0.0.2"
|
||||
}
|
||||
},
|
||||
"babel-plugin-syntax-async-functions": {
|
||||
"version": "6.13.0",
|
||||
"resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz",
|
||||
@ -832,7 +817,8 @@
|
||||
"babel-plugin-syntax-export-extensions": {
|
||||
"version": "6.13.0",
|
||||
"resolved": "https://registry.npmjs.org/babel-plugin-syntax-export-extensions/-/babel-plugin-syntax-export-extensions-6.13.0.tgz",
|
||||
"integrity": "sha1-cKFITw+QiaToStRLrDU8lbmxJyE="
|
||||
"integrity": "sha1-cKFITw+QiaToStRLrDU8lbmxJyE=",
|
||||
"dev": true
|
||||
},
|
||||
"babel-plugin-syntax-flow": {
|
||||
"version": "6.18.0",
|
||||
@ -1335,6 +1321,7 @@
|
||||
"version": "6.22.0",
|
||||
"resolved": "https://registry.npmjs.org/babel-plugin-transform-export-extensions/-/babel-plugin-transform-export-extensions-6.22.0.tgz",
|
||||
"integrity": "sha1-U3OLR+deghhYnuqUbLvTkQm75lM=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"babel-plugin-syntax-export-extensions": "6.13.0",
|
||||
"babel-runtime": "6.26.0"
|
||||
@ -6521,12 +6508,6 @@
|
||||
"pinkie-promise": "2.0.1"
|
||||
}
|
||||
},
|
||||
"path-extra": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/path-extra/-/path-extra-1.0.3.tgz",
|
||||
"integrity": "sha1-fBEhiablDVlXkOetIDfkTkEMEWY=",
|
||||
"dev": true
|
||||
},
|
||||
"path-is-absolute": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
||||
@ -7483,15 +7464,6 @@
|
||||
"is-nil-x": "1.4.1"
|
||||
}
|
||||
},
|
||||
"require-resolve": {
|
||||
"version": "0.0.2",
|
||||
"resolved": "https://registry.npmjs.org/require-resolve/-/require-resolve-0.0.2.tgz",
|
||||
"integrity": "sha1-urQQqxruLz9Vt5MXRR3TQodk5vM=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"x-path": "0.0.2"
|
||||
}
|
||||
},
|
||||
"requires-port": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
|
||||
@ -8993,15 +8965,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-path": {
|
||||
"version": "0.0.2",
|
||||
"resolved": "https://registry.npmjs.org/x-path/-/x-path-0.0.2.tgz",
|
||||
"integrity": "sha1-KU0Ha7l6dwbMBwu7Km/YxU32exI=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"path-extra": "1.0.3"
|
||||
}
|
||||
},
|
||||
"xml-char-classes": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/xml-char-classes/-/xml-char-classes-1.0.0.tgz",
|
||||
|
@ -16,7 +16,6 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@doodle3d/clipper-js": "^1.0.7",
|
||||
"babel-plugin-transform-export-extensions": "^6.22.0",
|
||||
"file-saver": "^1.3.3",
|
||||
"lodash": "^4.17.4",
|
||||
"material-ui": "^0.19.4",
|
||||
@ -31,10 +30,6 @@
|
||||
"@doodle3d/doodle3d-core": "github:doodle3d/doodle3d-core",
|
||||
"babel-cli": "6.24.1",
|
||||
"babel-loader": "7.0.0",
|
||||
"babel-plugin-add-module-exports": "0.2.1",
|
||||
"babel-plugin-inline-import": "^2.0.6",
|
||||
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
||||
"babel-plugin-transform-class-properties": "^6.24.1",
|
||||
"babel-plugin-transform-es2015-classes": "^6.24.1",
|
||||
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
||||
"babel-plugin-transform-runtime": "^6.23.0",
|
||||
|
@ -9,14 +9,13 @@ const babelLoader = {
|
||||
options: {
|
||||
presets: [
|
||||
require('babel-preset-env'),
|
||||
require('babel-preset-stage-0'),
|
||||
require('babel-preset-react')
|
||||
],
|
||||
plugins: [
|
||||
require('babel-plugin-transform-object-rest-spread'),
|
||||
require('babel-plugin-transform-class-properties'),
|
||||
require('babel-plugin-transform-runtime'),
|
||||
require('babel-plugin-transform-es2015-classes'),
|
||||
require('babel-plugin-transform-class-properties')
|
||||
require('babel-plugin-transform-es2015-classes')
|
||||
],
|
||||
babelrc: false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user