This commit is contained in:
casperlamboo 2017-10-24 12:40:47 +02:00
parent 6f31f471a6
commit f978047216
4 changed files with 337 additions and 3135 deletions

View File

@ -2,21 +2,10 @@
"env": {
"module": {
"presets": [
["env", {
"modules": false
}],
"react"
]
},
"main": {
"presets": ["env", "react"]
}
},
"plugins": [
"babel-plugin-transform-object-rest-spread",
"babel-plugin-inline-import",
"babel-plugin-transform-class-properties",
"babel-plugin-transform-es2015-classes",
"babel-plugin-syntax-dynamic-import"
]
}

3387
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{
"name": "doodle3d-core",
"version": "0.0.1",
"description": "Core functions of Doodle3D Transform",
"name": "@doodle3d/doodle3d-slicer",
"version": "0.0.13",
"description": "JavaScript gcode slicer, Intended to use with the Doodle3D WiFi-Box # Usage",
"main": "lib/index.js",
"module": "module/index.js",
"esnext": "src/index.js",
@ -11,54 +11,24 @@
"build:main": "BABEL_ENV=main babel src -s -d lib",
"build:module": "BABEL_ENV=module babel src -s -d module"
},
"dependencies": {
"@doodle3d/clipper-js": "^1.0.7",
"three": "^0.83.0"
},
"devDependencies": {
"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-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-cli": "6.24.1",
"babel-core": "6.24.1",
"babel-eslint": "7.2.3",
"babel-loader": "7.0.0",
"babel-plugin-add-module-exports": "0.2.1",
"babel-preset-es2015": "6.24.1",
"chai": "3.5.0",
"eslint": "3.19.0",
"eslint-loader": "1.7.1",
"mocha": "3.3.0",
"webpack": "3.1.0",
"yargs": "7.1.0"
"babel-cli": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-latest": "^6.24.1"
},
"repository": {
"type": "git"
"type": "git",
"url": "git+https://github.com/Doodle3D/Doodle3D-Slicer.git"
},
"keywords": [
"webpack",
"es6",
"starter",
"library",
"universal",
"umd",
"commonjs"
],
"author": "Casper @Doodle3D",
"dependencies": {
"@doodle3d/cal": "0.0.8",
"@doodle3d/clipper-js": "^1.0.7",
"@doodle3d/threejs-export-obj": "0.0.3",
"@doodle3d/threejs-export-stl": "0.0.2",
"babel-plugin-inline-import": "^2.0.6",
"imports-loader": "^0.7.1",
"memoizee": "^0.3.9",
"proptypes": "^1.1.0",
"raw-loader": "^0.5.1",
"react": "^16.0.0",
"regenerator-runtime": "^0.11.0",
"semver": "^5.4.1",
"shortid": "^2.2.8",
"three": "^0.83.0",
"three-js-csg": "^72.0.0"
}
"author": "",
"license": "UNLICENSED",
"private": true,
"bugs": {
"url": "https://github.com/Doodle3D/Doodle3D-Slicer/issues"
},
"homepage": "https://github.com/Doodle3D/Doodle3D-Slicer#readme"
}

View File

@ -43,9 +43,9 @@ class DoodlePreview extends React.Component {
render() {
const { width, height } = this.props;
return (
<canvas width={width} height={height} ref="canvas" />
);
// return (
// <canvas width={width} height={height} ref="canvas" />
// );
}
}
DoodlePreview.defaultProps = {