1
0
Fork 0

🔧 Reconfigure packages

This commit is contained in:
Joost De Cock 2019-05-21 20:29:38 +02:00
parent b069743e9e
commit 025ff0adde
51 changed files with 403 additions and 333 deletions

View file

@ -33,11 +33,18 @@
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -"
},
"peerDependencies": {
"@freesewing/core": "^2.0.0-beta.4",
"@freesewing/plugin-bundle": "^2.0.0-beta.4"
"@freesewing/core": "^2.0.0-beta.5",
"@freesewing/plugin-bundle": "^2.0.0-beta.5"
},
"dependencies": {},
"devDependencies": {
"react": "^16.4.1",
"react-dom": "^16.4.1",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
"eslint": "^5.16.0",
"babel-jest": "24.7.1",
"jest": "24.7.1",
"@freesewing/components": "^2.0.0-beta.5",
"@freesewing/css-theme": "^2.0.0-beta.5",
"@freesewing/i18n": "^2.0.0-beta.5",
@ -47,21 +54,11 @@
"@freesewing/plugin-buttons": "^2.0.0-beta.5",
"@freesewing/plugin-flip": "^2.0.0-beta.5",
"@freesewing/utils": "^2.0.0-beta.5",
"@material-ui/core": "3.9.3",
"@material-ui/icons": "3.0.2",
"@material-ui/lab": "3.0.0-alpha.30",
"@svgr/rollup": "^2.4.1",
"babel-eslint": "10.0.1",
"babel-jest": "24.7.1",
"cross-env": "^5.1.4",
"eslint": "^5.16.0",
"gh-pages": "^1.2.0",
"jest": "24.7.1",
"prop-types": "15.7.2",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-intl": "2.8.0",
"react-scripts": "^3.0.0",
"webpack": "4.29.6",
"rollup": "^0.64.1",
"rollup-plugin-babel": "^4.0.1",
"rollup-plugin-babel-minify": "^7.0.0",
@ -71,7 +68,11 @@
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-postcss": "^1.6.2",
"rollup-plugin-url": "^1.4.0",
"webpack": "4.29.6"
"@material-ui/core": "3.9.3",
"@material-ui/icons": "3.0.2",
"@material-ui/lab": "3.0.0-alpha.30",
"react-intl": "2.8.0",
"prop-types": "15.7.2"
},
"files": [
"dist/*",

View file

@ -8,7 +8,7 @@ export default function(part) {
let { macro, store, options, Path, paths, Point } = part.shorthand();
store.set("y", 0);
store.set("w", options.width);
let colors = [
let color = [
"fabric",
"lining",
"interfacing",
@ -18,7 +18,7 @@ export default function(part) {
"contrast",
"note"
];
store.set("colors", colors);
store.set("colors", color);
if (options.widthHd)
macro("hd", {
from: new Point(0, 0),