Created
January 8, 2017 13:21
-
-
Save EQuimper/b2c2061b91e540d9ec4bc99869d16435 to your computer and use it in GitHub Desktop.
Idea of script and ghook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "component-archetype", | |
"version": "0.0.1-semantic", | |
"description": "A new Webpack boilerplate with hot reloading React components, and error handling on module and component level.", | |
"main": "lib/index.js", | |
"scripts": { | |
"clean": "rimraf lib", | |
"build:webpack": "cross-env NODE_ENV=production webpack --config webpack.config.prod.js", | |
"build:babel": "NODE_ENV=lib babel src --out-dir lib", | |
"build": "npm run clean && npm run build:babel", | |
"start": "node devServer.js", | |
"lint": "eslint src", | |
"commit": "git-cz", | |
"open-coverage": "open ./coverage/lcov-report/index.html", | |
"check-coverage": "nyc check-coverage --statements 0 --branches 0 --functions 0 --lines 0", | |
"report-coverage": "nyc report --reporter=text-lcov | codecov", | |
"test": "NODE_ENV=test ava **/*.test.js --require babel-register --require ./src/__tests__/null-compiler", | |
"test:watch": "nodemon -w src --exec 'npm t -- --verbose'", | |
"test:cover": "nyc --reporter=lcov --reporter=text npm t", | |
"semantic-release": "semantic-release pre && npm publish --access=public && semantic-release post" | |
}, | |
"repository": { | |
"type": "git", | |
"url": "https://github.com/philholden/component-boilerplate.git" | |
}, | |
"keywords": [ | |
"react", | |
"reactjs", | |
"boilerplate", | |
"hot", | |
"reload", | |
"hmr", | |
"live", | |
"edit", | |
"webpack", | |
"babel", | |
"react-transform" | |
], | |
"author": "Phil Holden (http://github.com/philholden)", | |
"license": "CC0", | |
"bugs": { | |
"url": "https://github.com/philholden/component-boilerplate/issues" | |
}, | |
"homepage": "https://github.com/philholden/component-boilerplate/", | |
"devDependencies": { | |
"ava": "^0.15.2", | |
"babel-cli": "^6.4.0", | |
"babel-core": "^6.3.15", | |
"babel-eslint": "^5.0.0-beta4", | |
"babel-loader": "^6.2.0", | |
"babel-plugin-webpack-loaders": "^0.1.0", | |
"babel-preset-es2015": "^6.3.13", | |
"babel-preset-react": "^6.3.13", | |
"babel-preset-react-hmre": "^1.1.1", | |
"babel-preset-stage-1": "^6.5.0", | |
"babel-register": "^6.3.13", | |
"codecov.io": "0.1.6", | |
"commitizen": "^2.5.0", | |
"compression": "^1.6.0", | |
"cross-env": "^1.0.6", | |
"cz-conventional-changelog": "^1.1.5", | |
"eslint": "^1.10.3", | |
"eslint-config-rackt": "^1.1.1", | |
"eslint-plugin-babel": "^3.0.0", | |
"eslint-plugin-react": "^3.11.3", | |
"eventsource-polyfill": "^0.9.6", | |
"expect": "^1.13.4", | |
"expect-jsx": "^2.2.2", | |
"express": "^4.13.3", | |
"file-loader": "^0.8.5", | |
"ghooks": "0.3.2", | |
"is_js": "^0.7.6", | |
"nodemon": "^1.8.1", | |
"nyc": "^5.3.0", | |
"react": "^15.0.1", | |
"react-addons-test-utils": "^15.0.1", | |
"react-dom": "^15.0.1", | |
"react-element-to-jsx-string": "^2.6.1", | |
"redbox-react": "^1.2.3", | |
"rimraf": "^2.4.3", | |
"semantic-release": "^4.3.5", | |
"socket.io": "^1.4.0", | |
"url-loader": "^0.5.7", | |
"webpack": "^1.12.9", | |
"webpack-dev-middleware": "^1.4.0", | |
"webpack-hot-middleware": "^2.6.0" | |
}, | |
"config": { | |
"ghooks": { | |
"pre-commit": "npm run test && npm run check-coverage" | |
}, | |
"commitizen": { | |
"path": "node_modules/cz-conventional-changelog" | |
} | |
}, | |
"dependencies": { | |
"react": "^0.14.3", | |
"react-dom": "^0.14.3" | |
}, | |
"release": { | |
"debug": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment