Skip to content

Commit

Permalink
♻️ point stitch and publish to build folder instead of source
Browse files Browse the repository at this point in the history
  • Loading branch information
shanewilson committed Apr 12, 2017
1 parent b3acb6b commit 765446c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/node_modules/@knit/knit/tasks/publish.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/node_modules/@knit/knit/tasks/stitch.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -10,7 +10,6 @@
"npm": ">=3"
},
"files": [
"dist",
"*.png",
"*.md"
],
Expand Down Expand Up @@ -78,8 +77,9 @@
"yargs": "^6.6.0"
},
"scripts": {
"build-lib": "NODE_ENV=production babel modules/node_modules/@knit -d build/ --ignore test",
"build-cjs": "NODE_ENV=production yarn run knit -- exec --scope=@knit --ignore=jest -- babel . -d ROOT_DIR/dist/KNIT_MODULE_NAME --ignore dist,test",
"copy": "rm -rf dist && yarn knit -- copy --verbose --ignore-path=@knit/**/{__mocks__,__tests__,*.js}",
"build-lib": "NODE_ENV=production babel modules/node_modules/ -d dist/ --ignore test create",
"build-cjs": "NODE_ENV=production yarn run knit -- exec --scope=@knit --ignore=jest -- babel . -d ROOT_DIR/dist/KNIT_MODULE_NAME --ignore test,mocks",
"knit": "babel-node --only 'modules/node_modules' modules/node_modules/@knit/knit/bin/cli.js",
"test": "jest",
"lint": "eslint --ext .js modules/node_modules",
Expand Down

0 comments on commit 765446c

Please sign in to comment.