1
0
Fork 0

feat(paco): Initial merge of my work on the paco pattern

This also includes a lot of dependency updates
This commit is contained in:
Joost De Cock 2020-08-02 19:17:06 +02:00
parent 46921db761
commit a548a6964d
209 changed files with 9613 additions and 14366 deletions

View file

@ -11,10 +11,12 @@ const App = (props) => {
let config = instance.config
// You can use this to add transations
/*
let translations = {
JSON: 'JSON',
someOtherString: 'Some other string that needs translation'
}
*/
return (
<Workbench
@ -22,7 +24,7 @@ const App = (props) => {
Pattern={Pattern}
config={config}
userLanguage="{{language}}"
translations={translations}
//translations={translations}
/>
)
}

View file

@ -9,26 +9,20 @@
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"engines": {
"node": ">=8",
"npm": ">=5"
"node": ">=12",
"npm": ">=6"
},
"scripts": {
"test": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"build": "rollup -c",
"start": "rollup -c -w",
"prepare": "{{manager}} run build",
"predeploy": "cd example && {{manager}} install && {{manager}} run build",
"deploy": "gh-pages -d example/build"
"predeploy": "cd example && {{manager}} install && {{manager}} run build"
},
"devDependencies": {
"react": "^16.8",
"react-dom": "^16.8",
"@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",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"babel-eslint": "^10.0.1",
"eslint": "^7.6.0",
"@freesewing/core": "latest",
"@freesewing/plugin-bundle": "latest",
"@freesewing/components": "latest",
@ -40,23 +34,20 @@
"@freesewing/plugin-debug": "latest",
"@freesewing/plugin-flip": "latest",
"@freesewing/utils": "latest",
"@svgr/rollup": "^2.4.1",
"cross-env": "^5.1.4",
"react-scripts": "^3.0.1",
"webpack": "4.29.6",
"rollup": "^0.64.1",
"rollup-plugin-babel": "^4.0.1",
"rollup-plugin-babel-minify": "^7.0.0",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-postcss": "^1.6.2",
"rollup-plugin-url": "^1.4.0",
"@material-ui/core": "^4.0.1",
"@material-ui/icons": "^4.0.1",
"@material-ui/lab": "^v4.0.0-alpha.14",
"react-intl": "2.8.0",
"react-scripts": "^3.4.1",
"webpack": "4.44.1",
"rollup": "^2.23.0",
"rollup-plugin-peer-deps-external": "^2.2.3",
"rollup-plugin-terser": "^6.1.0",
"rollup-plugin-yaml": "^2.0.0",
"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.6",
"react-intl": "5.4.5",
"prop-types": "15.7.2",
"file-saver": "^2.0.2"
}