Skip to content

Commit

Permalink
build: Clean up
Browse files Browse the repository at this point in the history
Remove unnecessary release.js file
Package utils.js in npm
npm script for unit test
  • Loading branch information
anantoghosh committed Jul 14, 2018
1 parent 97ff2c0 commit eeb925f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 24 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,5 @@ public
yarn-error.log
plugins
gatsby-node.js
loader.js
loader.js
utils.js
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,19 @@
"gatsby": ">2.0.0-beta"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/test_build",
"build:test": "babel src --out-dir plugins/gatsby-plugin-purgecss --ignore **/test_build",
"build": "babel src --out-dir .",
"build:test": "babel src --out-dir plugins/gatsby-plugin-purgecss",
"build:test_build": "cd test_build && npm run build && cd ..",
"test": "npm run build:test && node prepareTests.js && npm run build:test_build && jest",
"test": "npm run test:unit && npm run build:test && node prepareTests.js && npm run build:test_build && jest",
"test:unit": "jest --testPathIgnorePatterns build_e2e.test.js .cache/",
"jest": "jest",
"release": "node -r dotenv/config node_modules/release-it/bin/release-it.js"
},
"files": [
"index.js",
"gatsby-node.js",
"loader.js"
"loader.js",
"utils.js"
],
"repository": {
"type": "git",
Expand Down
19 changes: 0 additions & 19 deletions release.js

This file was deleted.

0 comments on commit eeb925f

Please sign in to comment.