mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2025-01-03 08:33:48 +01:00
test
This commit is contained in:
parent
f978047216
commit
2319162635
11
.babelrc
11
.babelrc
@ -2,10 +2,21 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"module": {
|
"module": {
|
||||||
"presets": [
|
"presets": [
|
||||||
|
["env", {
|
||||||
|
"modules": false
|
||||||
|
}],
|
||||||
|
"react"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"main": {
|
||||||
|
"presets": ["env", "react"]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"babel-plugin-transform-object-rest-spread",
|
"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"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
2132
package-lock.json
generated
2132
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
44
package.json
44
package.json
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@doodle3d/doodle3d-slicer",
|
"name": "doodle3d-core",
|
||||||
"version": "0.0.13",
|
"version": "0.0.1",
|
||||||
"description": "JavaScript gcode slicer, Intended to use with the Doodle3D WiFi-Box # Usage",
|
"description": "Core functions of Doodle3D Transform",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"module": "module/index.js",
|
"module": "module/index.js",
|
||||||
"esnext": "src/index.js",
|
"esnext": "src/index.js",
|
||||||
@ -12,23 +12,45 @@
|
|||||||
"build:module": "BABEL_ENV=module babel src -s -d module"
|
"build:module": "BABEL_ENV=module babel src -s -d module"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@doodle3d/cal": "0.0.8",
|
||||||
"@doodle3d/clipper-js": "^1.0.7",
|
"@doodle3d/clipper-js": "^1.0.7",
|
||||||
"three": "^0.83.0"
|
"@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"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.24.1",
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
||||||
"babel-plugin-transform-object-rest-spread": "^6.23.0",
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
||||||
"babel-preset-latest": "^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-loader": "7.0.0",
|
||||||
|
"babel-plugin-add-module-exports": "0.2.1",
|
||||||
|
"babel-preset-es2015": "6.24.1",
|
||||||
|
"webpack": "3.1.0"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/Doodle3D/Doodle3D-Slicer.git"
|
"url": "git+https://github.com/Doodle3D/Doodle3D-Core.git"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "Casper @Doodle3D",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"private": true,
|
"private": true,
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/Doodle3D/Doodle3D-Slicer/issues"
|
"url": "https://github.com/Doodle3D/Doodle3D-Core/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/Doodle3D/Doodle3D-Slicer#readme"
|
"homepage": "https://github.com/Doodle3D/Doodle3D-Core#readme"
|
||||||
}
|
}
|
||||||
|
@ -43,9 +43,9 @@ class DoodlePreview extends React.Component {
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { width, height } = this.props;
|
const { width, height } = this.props;
|
||||||
// return (
|
return (
|
||||||
// <canvas width={width} height={height} ref="canvas" />
|
<canvas width={width} height={height} ref="canvas" />
|
||||||
// );
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DoodlePreview.defaultProps = {
|
DoodlePreview.defaultProps = {
|
||||||
|
Loading…
Reference in New Issue
Block a user