Skip to content

Instantly share code, notes, and snippets.

@whazzmaster
Last active October 5, 2017 15:39
Show Gist options
  • Save whazzmaster/952e7c8b0ef83fdaf67c970c8284c229 to your computer and use it in GitHub Desktop.
Save whazzmaster/952e7c8b0ef83fdaf67c970c8284c229 to your computer and use it in GitHub Desktop.
ES6 Debugging: package.json
{
"name": "incrementor",
"version": "1.0.0",
"description": "increment",
"main": "dist/cloud.js",
"private": true,
"scripts": {
"build:lib": "BABEL_ENV=lib $(npm bin)/babel src/ --ignore=src/__mocks__ --out-dir=dist --source-maps",
"build:bin": "BABEL_ENV=cli $(npm bin)/babel src/bin/ --out-dir=dist/bin --copy-files --source-maps",
"build": "rm -rf dist/ && npm run build:lib && npm run build:bin",
"watch:src": "npm run build:lib -- --watch",
"watch:bin": "npm run build:bin -- --watch",
"prepare": "npm run build",
"test": "jest"
},
"author": "Zachery Moneypenny <zachery@adorable.io>",
"license": "See license in LICENSE",
"dependencies": {
"commander": "^2.11.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment