1
0
Fork 0

🔧 Fixed files config for CFP

This commit is contained in:
Joost De Cock 2019-05-02 19:09:54 +02:00
parent a9cd23cb43
commit 07ef906ca6
4 changed files with 6 additions and 33 deletions

View file

@ -1,2 +0,0 @@

View file

@ -27,7 +27,7 @@
"pubforce": "npm publish", "pubforce": "npm publish",
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -", "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
"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 lib template dist/"
}, },
"dependencies": { "dependencies": {
"chalk": "^2.4.2", "chalk": "^2.4.2",
@ -47,11 +47,6 @@
"validate-npm-package-name": "^3.0.0", "validate-npm-package-name": "^3.0.0",
"which": "^1.3.1" "which": "^1.3.1"
}, },
"files": [
"dist/*",
"README.md",
"package.json"
],
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
"tag": "alpha" "tag": "alpha"
@ -60,8 +55,11 @@
"node": ">=8.0.0", "node": ">=8.0.0",
"npm": ">=5" "npm": ">=5"
}, },
"reveal": true, "files": [
"dist",
"!dist/template/default/node_modules"
],
"bin": { "bin": {
"create-freesewing-pattern": "index.js" "create-freesewing-pattern": "dist/index.js"
} }
} }

View file

@ -1,20 +0,0 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.
# dependencies
node_modules
# builds
build
dist
# misc
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*

View file

@ -85,7 +85,4 @@
"rollup-plugin-postcss": "^1.6.2", "rollup-plugin-postcss": "^1.6.2",
"rollup-plugin-url": "^1.4.0" "rollup-plugin-url": "^1.4.0"
}, },
"files": [
"dist"
]
} }