Skip to content

Commit

Permalink
chore(*): setup yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
topheman committed Jun 17, 2017
1 parent 5a6904b commit 744efcc
Show file tree
Hide file tree
Showing 7 changed files with 4,884 additions and 58 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ node_js:
- "6"
before_script:
- npm ls --depth=0
- npm run contributing-install #remove this line if you're not contributing - https://github.com/topheman/webpack-babel-starter/tree/master/contributing
script:
- npm test
- npm run contributing-test #remove this line if you're not contributing - https://github.com/topheman/webpack-babel-starter/tree/master/contributing
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ I also have ported it on [topheman/angular2-sandbox](https://github.com/topheman
```shell
git clone https://github.com/topheman/webpack-babel-starter.git
cd webpack-babel-starter
npm install
yarn
```

### Run
Expand Down
8 changes: 0 additions & 8 deletions contributing/bin/contributing-install.sh

This file was deleted.

7 changes: 7 additions & 0 deletions contributing/bin/install-warning-message.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const log = require('npmlog');
log.level = 'silly';

log.info('dependency', 'Some dependencies were installed to test the starter kit');
log.info('dependency', `mocha and chai are ONLY used for those unit tests, if you don't need them, just launch:`);
log.info('dependency', `yarn remove mocha chai`);
console.log('');
48 changes: 0 additions & 48 deletions contributing/bin/npm-debug.log

This file was deleted.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.0.1",
"description": "Webpack Babel Starter Kit",
"scripts": {
"postinstall": "node ./contributing/bin/install-warning-message.js",
"start": "npm run webpack",
"test": "npm run lint",
"lint": "./node_modules/.bin/eslint src",
Expand Down Expand Up @@ -46,6 +47,7 @@
"babel-eslint": "^5.0.0",
"babel-loader": "^6.2.3",
"babel-preset-es2015": "^6.5.0",
"chai": "^4.0.2",
"css-loader": "^0.23.1",
"del": "^2.2.0",
"eslint": "^1.10.3",
Expand All @@ -58,6 +60,7 @@
"html-webpack-plugin": "^2.9.0",
"json-loader": "^0.5.4",
"lodash.template": "^4.2.2",
"mocha": "^3.4.2",
"moment": "^2.11.2",
"my-local-ip": "^1.0.0",
"node-sass": "^3.4.2",
Expand Down
Loading

0 comments on commit 744efcc

Please sign in to comment.