🔧 Reconfigure packages
This commit is contained in:
parent
8e30902d69
commit
143ab0d4cc
46 changed files with 157 additions and 94 deletions
|
@ -15,22 +15,14 @@
|
|||
"initializer",
|
||||
"react"
|
||||
],
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.mjs",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist",
|
||||
"nodebuild": "BABEL_ENV=production rollup -c -o dist/index.js -f cjs",
|
||||
"modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es",
|
||||
"build": "npm run clean && npm run mkdist && npm run copyfiles",
|
||||
"test": "ava -v && standard *.js lib/*.js",
|
||||
"test": "echo \"create-freesewing-pattern: No tests configured. Perhaps you'd like to do this?\" && exit 0",
|
||||
"pubtest": "npm publish --registry http://localhost:6662",
|
||||
"pubforce": "npm publish",
|
||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||
"mkdist": "mkdir -p dist",
|
||||
"copyfiles": "cp -R index.js package.json README.md lib template dist/"
|
||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -"
|
||||
},
|
||||
"dependencies": {
|
||||
"@freesewing/i18n": "^2.0.0-alpha.10",
|
||||
"chalk": "^2.4.2",
|
||||
"commander": "^2.19.0",
|
||||
"conf": "^2.2.0",
|
||||
|
@ -46,7 +38,8 @@
|
|||
"p-each-series": "^1.0.0",
|
||||
"parse-git-config": "^3.0.0",
|
||||
"validate-npm-package-name": "^3.0.0",
|
||||
"which": "^1.3.1"
|
||||
"which": "^1.3.1",
|
||||
"@freesewing/i18n": "^2.0.0-alpha.10"
|
||||
},
|
||||
"files": [
|
||||
"dist/*",
|
||||
|
@ -61,7 +54,6 @@
|
|||
"node": ">=8.0.0",
|
||||
"npm": ">=5"
|
||||
},
|
||||
"reveal": true,
|
||||
"bin": {
|
||||
"create-freesewing-pattern": "index.js"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue