1
0
Fork 0

🚧 Reconfigure

This commit is contained in:
Joost De Cock 2019-04-29 11:12:41 +02:00
parent d837e54990
commit 7a0dfdce38
51 changed files with 414 additions and 197 deletions

View file

@ -5,6 +5,7 @@ _:
build: "npm run clean && npm run nodebuild && npm run modulebuild" build: "npm run clean && npm run nodebuild && npm run modulebuild"
test: "echo \"{{name}}: No tests configured. Perhaps you'd like to do this?\" && exit 0" test: "echo \"{{name}}: No tests configured. Perhaps you'd like to do this?\" && exit 0"
pubtest: "npm publish --registry http://localhost:6662" pubtest: "npm publish --registry http://localhost:6662"
publish: "npm build && npm publish --access=public --tag=alpha"
_types: _types:
patterns: patterns:
plugins: plugins:

View file

@ -13,14 +13,16 @@
"clean": "rimraf dist", "clean": "rimraf dist",
"nodebuild": "rollup -c -o dist/index.js -f cjs", "nodebuild": "rollup -c -o dist/index.js -f cjs",
"modulebuild": "rollup -c -o dist/index.mjs -f es", "modulebuild": "rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild" "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"publish": "npm run build && npm publish --access public"
}, },
"peerDependencies": {}, "peerDependencies": {},
"dependencies": {}, "dependencies": {},
"devDependencies": {}, "devDependencies": {},
"files": ["dist/*", "README.md", "package.json"], "files": ["dist/*", "README.md", "package.json"],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,12 +28,13 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"aaron: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"aaron: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/brian": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/core": "^0.32.4", "@freesewing/plugin-bundle": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4" "@freesewing/brian": "^2.0.0-alpha.0"
}, },
"files": [ "files": [
"dist/*", "dist/*",
@ -41,7 +42,8 @@
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,12 +28,13 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"bent: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"bent: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/brian": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/core": "^0.32.4", "@freesewing/plugin-bundle": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4" "@freesewing/brian": "^2.0.0-alpha.0"
}, },
"files": [ "files": [
"dist/*", "dist/*",
@ -41,7 +42,8 @@
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,19 +28,23 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"brian: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"brian: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4" "@freesewing/plugin-bundle": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,19 +28,23 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"bruce: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"bruce: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4" "@freesewing/plugin-bundle": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,15 +28,16 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"carlita: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"carlita: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/bent": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/carlton": "^0.32.4", "@freesewing/plugin-bundle": "^2.0.0-alpha.0",
"@freesewing/core": "^0.32.4", "@freesewing/bent": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4", "@freesewing/carlton": "^2.0.0-alpha.0",
"@freesewing/plugin-bust": "^0.32.4", "@freesewing/plugin-bust": "^2.0.0-alpha.0",
"@freesewing/plugin-buttons": "^0.32.4" "@freesewing/plugin-buttons": "^2.0.0-alpha.0"
}, },
"files": [ "files": [
"dist/*", "dist/*",
@ -44,7 +45,8 @@
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,13 +28,14 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"carlton: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"carlton: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/bent": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/core": "^0.32.4", "@freesewing/plugin-bundle": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4", "@freesewing/bent": "^2.0.0-alpha.0",
"@freesewing/plugin-buttons": "^0.32.4" "@freesewing/plugin-buttons": "^2.0.0-alpha.0"
}, },
"files": [ "files": [
"dist/*", "dist/*",
@ -42,7 +43,8 @@
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,19 +28,23 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"cathrin: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"cathrin: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4" "@freesewing/plugin-bundle": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -19,17 +19,18 @@
"clean": "rimraf dist", "clean": "rimraf dist",
"nodebuild": "BABEL_ENV=production rollup -c -o dist/index.js -f cjs", "nodebuild": "BABEL_ENV=production rollup -c -o dist/index.js -f cjs",
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"FIXMEbuild": "npm run clean && npm run nodebuild && npm run modulebuild", "SKIPbuild": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"components: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"components: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662", "pubtest": "npm publish --registry http://localhost:6662",
"SKIPpublish": "npm build && npm publish --access=public --tag=alpha",
"storybook": "start-storybook -p 6663" "storybook": "start-storybook -p 6663"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/i18n": "^0.32.4",
"@freesewing/patterns": "^0.32.4",
"@freesewing/utils": "^0.32.4",
"prop-types": "15.7.2",
"react": "^16.4.1", "react": "^16.4.1",
"prop-types": "15.7.2",
"@freesewing/patterns": "^2.0.0-alpha.0",
"@freesewing/i18n": "^2.0.0-alpha.0",
"@freesewing/utils": "^2.0.0-alpha.0",
"react-intl": "^2.8.0" "react-intl": "^2.8.0"
}, },
"files": [ "files": [
@ -38,13 +39,11 @@
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",
"npm": ">=5" "npm": ">=5"
},
"dependencies": {
"@freesewing/patterns": "0.18.6"
} }
} }

View file

@ -30,6 +30,7 @@
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "BABEL_ENV=production nyc mocha tests/*.test.js", "test": "BABEL_ENV=production nyc mocha tests/*.test.js",
"pubtest": "npm publish --registry http://localhost:6662", "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha",
"report": "BABEL_ENV=production nyc report --reporter=html mocha --compilers js:babel-core/register tests/*.test.js", "report": "BABEL_ENV=production nyc report --reporter=html mocha --compilers js:babel-core/register tests/*.test.js",
"coverage": "BABEL_ENV=production nyc npm test && nyc report --reporter=text-lcov > coverage.lcov && ./node_modules/.bin/codecov" "coverage": "BABEL_ENV=production nyc npm test && nyc report --reporter=text-lcov > coverage.lcov && ./node_modules/.bin/codecov"
}, },
@ -44,7 +45,8 @@
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -24,6 +24,7 @@
"build": "npm run clean && npm run mkdist && npm run copyfiles", "build": "npm run clean && npm run mkdist && npm run copyfiles",
"test": "ava -v && standard *.js lib/*.js", "test": "ava -v && standard *.js lib/*.js",
"pubtest": "npm publish --registry http://localhost:6662", "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha",
"mkdist": "mkdir -p dist", "mkdist": "mkdir -p dist",
"copyfiles": "cp -R index.js package.json README.md lib template dist/" "copyfiles": "cp -R index.js package.json README.md lib template dist/"
}, },
@ -51,7 +52,8 @@
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -25,6 +25,7 @@
"build": "npx node-sass --output-style compressed src/theme.scss dist/theme.css", "build": "npx node-sass --output-style compressed src/theme.scss dist/theme.css",
"test": "echo \"css-theme: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"css-theme: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662", "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha",
"watch": "npx node-sass --watch --output-style compressed src/theme.scss dist/theme.css" "watch": "npx node-sass --watch --output-style compressed src/theme.scss dist/theme.css"
}, },
"dependencies": { "dependencies": {
@ -36,7 +37,8 @@
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -23,19 +23,23 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"examples: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"examples: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4" "@freesewing/plugin-bundle": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,19 +28,23 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"florent: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"florent: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4" "@freesewing/plugin-bundle": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,19 +28,23 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"huey: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"huey: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4" "@freesewing/plugin-bundle": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,19 +28,23 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"hugo: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"hugo: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4" "@freesewing/plugin-bundle": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -25,15 +25,20 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"i18n: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"i18n: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": {},
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,19 +28,23 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"jaeger: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"jaeger: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4" "@freesewing/plugin-bundle": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -25,15 +25,20 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"models: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"models: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": {},
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -23,7 +23,8 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"mui-theme: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"mui-theme: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@material-ui/core": "^3.9.3", "@material-ui/core": "^3.9.3",
@ -36,7 +37,8 @@
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -47,6 +47,56 @@
An umbrella package for all FreeSewing patterns An umbrella package for all FreeSewing patterns
## Included patterns
### Blocks
Blocks or slopers are basic patterns shapes that you can extend into fully detailed patterns.
- [brian](https://github.com/freesewing/brian) : A basic body block for menswear, and the basis for many of our menswear patterns.
- [bent](https://github.com/freesewing/bent) : A version of [brian](https://github.com/freesewing/brian) with a two-part sleeve, and the and the basis of our menswear coat and jacket patterns.
### Menswear
- [aaron](https://github.com/freesewing/aaron) : A tank top or A-shirt
- [bruce](https://github.com/freesewing/bruce) : Boxer briefs
- [carlton](https://github.com/freesewing/carlton) : A long coat, perfect for Sherlock Holmes cosplay
- [huey](https://github.com/freesewing/huey) : A zip-up hoodie
- [hugo](https://github.com/freesewing/hugo) : A hooded sweatshirt with raglan sleeves
- [jaeger](https://github.com/freesewing/jaeger) : A sportscoat
- [simon](https://github.com/freesewing/simon) : A versatile button-down shirt
- [sven](https://github.com/freesewing/sven) : A straightforward sweater
- [wahid](https://github.com/freesewing/wahid) : A classic waistcoat
### Womenswear
- [cathrin](https://github.com/freesewing/cathrin) : An underbust corset or waist trainer
- [tamiko](https://github.com/freesewing/tamiko) : A zero-waste top
### Accessories
- [trayvon](https://github.com/freesewing/trayvon) : A (neck) tie
> #### Note: menswear/womenswear has nothing to do with gender
>
> Freesewing is gender-neutral. When we use the terms **menswear** or **womenswear**
> we are not talking about clothes for men or women. It is merely a category of clothing
> much like **accessories** or **shoes** are categories.
>
> The category gives you an idea what to expect, and is there to help you find things.
> It is not a limitation, or even a suggestion, of what you can or should wear or make.
>
> Wear whatever you want, and be proud of the things you make.
## Usage
This package has 2 exports:
- `patterns` : (the default export) An object holding pattern constructors
- `patternList` : An array of pattern names
## About FreeSewing 🤔 ## About FreeSewing 🤔

View file

@ -28,7 +28,8 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"patterns: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"patterns: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"dependencies": { "dependencies": {
"@freesewing/aaron": "^2.0.0-alpha.0", "@freesewing/aaron": "^2.0.0-alpha.0",
@ -55,7 +56,8 @@
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-banner: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-banner: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -29,18 +29,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-bundle: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-bundle: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-bust: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-bust: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-buttons: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-buttons: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-cutonfold: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-cutonfold: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-debug: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-debug: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-designer: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-designer: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-dimension: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-dimension: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-flip: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-flip: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-grainline: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-grainline: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-i18n: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-i18n: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-logo: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-logo: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-round: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-round: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-scalebox: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-scalebox: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-sprinkle: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-sprinkle: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-svgattr: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-svgattr: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-theme: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-theme: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-title: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-title: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,18 +28,22 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"plugin-validate: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"plugin-validate: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4" "@freesewing/core": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,19 +28,23 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"shin: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"shin: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4" "@freesewing/plugin-bundle": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,14 +28,15 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"simon: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"simon: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/brian": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/core": "^0.32.4", "@freesewing/plugin-bundle": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4", "@freesewing/brian": "^2.0.0-alpha.0",
"@freesewing/plugin-buttons": "^0.32.4", "@freesewing/plugin-buttons": "^2.0.0-alpha.0",
"@freesewing/plugin-flip": "^0.32.4" "@freesewing/plugin-flip": "^2.0.0-alpha.0"
}, },
"files": [ "files": [
"dist/*", "dist/*",
@ -43,7 +44,8 @@
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,19 +28,23 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"sven: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"sven: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4" "@freesewing/plugin-bundle": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,19 +28,23 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"tamiko: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"tamiko: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4" "@freesewing/plugin-bundle": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,19 +28,23 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"trayvon: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"trayvon: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4" "@freesewing/plugin-bundle": "^2.0.0-alpha.0"
}, },
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -26,15 +26,20 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"utils: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"utils: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": {},
"dependencies": {},
"devDependencies": {},
"files": [ "files": [
"dist/*", "dist/*",
"README.md", "README.md",
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -28,14 +28,15 @@
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"build": "npm run clean && npm run nodebuild && npm run modulebuild", "build": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "echo \"wahid: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"wahid: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662",
"publish": "npm build && npm publish --access=public --tag=alpha"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/brian": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/core": "^0.32.4", "@freesewing/plugin-bundle": "^2.0.0-alpha.0",
"@freesewing/plugin-bundle": "^0.32.4", "@freesewing/brian": "^2.0.0-alpha.0",
"@freesewing/plugin-buttons": "^0.32.4", "@freesewing/plugin-buttons": "^2.0.0-alpha.0",
"@freesewing/plugin-round": "^0.32.4" "@freesewing/plugin-round": "^2.0.0-alpha.0"
}, },
"files": [ "files": [
"dist/*", "dist/*",
@ -43,7 +44,8 @@
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",

View file

@ -20,27 +20,25 @@
"clean": "rimraf dist", "clean": "rimraf dist",
"nodebuild": "BABEL_ENV=production rollup -c -o dist/index.js -f cjs", "nodebuild": "BABEL_ENV=production rollup -c -o dist/index.js -f cjs",
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
"FIXMEbuild": "npm run clean && npm run nodebuild && npm run modulebuild", "SKIPbuild": "npm run clean && npm run nodebuild && npm run modulebuild",
"test": "cross-env CI=1 react-scripts test --env=jsdom", "test": "cross-env CI=1 react-scripts test --env=jsdom",
"pubtest": "npm publish --registry http://localhost:6662", "pubtest": "npm publish --registry http://localhost:6662",
"SKIPpublish": "npm build && npm publish --access=public --tag=alpha",
"test:watch": "react-scripts test --env=jsdom", "test:watch": "react-scripts test --env=jsdom",
"start": "rollup -c -w" "start": "rollup -c -w"
}, },
"peerDependencies": { "peerDependencies": {
"@freesewing/core": "^0.32.4", "@freesewing/core": "^2.0.0-alpha.0",
"@freesewing/plugin-theme": "^0.32.4", "@freesewing/i18n": "^2.0.0-alpha.0",
"@freesewing/utils": "^0.32.4", "@freesewing/utils": "^2.0.0-alpha.0",
"@freesewing/plugin-theme": "^2.0.0-alpha.0",
"react-intl": "^2.8.0" "react-intl": "^2.8.0"
}, },
"dependencies": { "dependencies": {
"@freesewing/components": "file:../components", "@freesewing/components": "^2.0.0-alpha.0",
"@freesewing/css-theme": "file:../css-theme", "@freesewing/css-theme": "^2.0.0-alpha.0",
"@freesewing/i18n": "file:../i18n", "@freesewing/utils": "^2.0.0-alpha.0",
"@freesewing/utils": "file:../utils", "@freesewing/mui-theme": "^2.0.0-alpha.0"
"@material-ui/core": "3.9.3",
"@material-ui/icons": "3.0.2",
"@material-ui/lab": "3.0.0-alpha.30",
"@material-ui/styles": "3.0.0-alpha.10"
}, },
"files": [ "files": [
"dist/*", "dist/*",
@ -48,14 +46,11 @@
"package.json" "package.json"
], ],
"publishConfig": { "publishConfig": {
"access": "public" "access": "public",
"tag": "alpha"
}, },
"engines": { "engines": {
"node": ">=8.0.0", "node": ">=8.0.0",
"npm": ">=5" "npm": ">=5"
},
"devDependencies": {
"@babel/plugin-external-helpers": "7.2.0",
"@babel/plugin-transform-react-jsx": "7.3.0"
} }
} }

View file

@ -1,39 +1,48 @@
import babel from "rollup-plugin-babel"; import babel from "rollup-plugin-babel";
import commonjs from "rollup-plugin-commonjs";
import external from "rollup-plugin-peer-deps-external";
import postcss from "rollup-plugin-postcss";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import commonjs from "rollup-plugin-commonjs";
import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import url from "rollup-plugin-url"; import url from "rollup-plugin-url";
import postcss from "rollup-plugin-postcss";
import svgr from "@svgr/rollup"; import svgr from "@svgr/rollup";
import peerDepsExternal from "rollup-plugin-peer-deps-external";
import pkg from "./package.json"; import { name, version, description, author, license } from "./package.json";
export default { export default {
input: "src/index.js", input: "src/index.js",
output: [ output: [
{ {
file: pkg.main, file: "dist/index.js",
format: "cjs", format: "cjs",
sourcemap: true sourcemap: true
}, },
{ {
file: pkg.module, file: "dist/index.mjs",
format: "es", format: "es",
sourcemap: true sourcemap: true
} }
], ],
plugins: [ plugins: [
external(), peerDepsExternal(),
resolve({ modulesOnly: true }),
url(),
commonjs(),
json(),
yaml(),
svgr(),
postcss({ postcss({
modules: true modules: true
}), }),
url(),
svgr(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/external-helpers"] plugins: ["@babel/plugin-proposal-object-rest-spread"]
}), }),
resolve(), minify({
commonjs() comments: false,
sourceMap: true,
banner: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
})
] ]
}; };