Skip to content

Commit

Permalink
chore(package): Update to webpack-defaults 1.0.1 (#202)
Browse files Browse the repository at this point in the history
* chore: Update to webpack-defaults 1.0.1

* ci(appveyor): Use yarn in appveyor

 - Works around npm 2.x issue with Jest 20 related to regeneratorRuntime

* ci(appveyor): Only build once in PRs
  • Loading branch information
joshwiens authored May 30, 2017
1 parent a3f9601 commit f4ae0cb
Show file tree
Hide file tree
Showing 5 changed files with 978 additions and 858 deletions.
5 changes: 2 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
[
"env",
{
"modules": false,
"useBuiltIns": true,
"targets": {
"node": 4.3
"node": "4.3"
},
"exclude": [
"transform-async-to-generator",
Expand All @@ -33,4 +32,4 @@
]
}
}
}
}
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<!--
1. Check the version of package you are using. If it's not the newest version, update and try again (see changelog while updating!).
2. If the issue is still there, write a minimal project showing the problem and expected output.
3. Link to the project and mention Node version and OS in your report.
**IMPORTANT! You should use [Stack Overflow](https://stackoverflow.com/) for support related questions.**
-->
8 changes: 6 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
init:
- git config --global core.autocrlf input

branches:
only:
- master

# what combinations to test
environment:
matrix:
Expand All @@ -16,7 +20,7 @@ environment:

install:
- ps: Install-Product node $env:nodejs_version x64
- npm install
- yarn install

build: off

Expand All @@ -26,4 +30,4 @@ matrix:
test_script:
- node --version
- npm --version
- cmd: npm run appveyor:%job_part%
- cmd: yarn run appveyor:%job_part%
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,23 @@
"appveyor:test": "npm test",
"lint": "eslint --cache src test",
"webpack-defaults": "webpack-defaults",
"start": "yarn run serve:dev src",
"build": "cross-env NODE_ENV=production babel -s true src -d dist --ignore 'src/**/*.test.js'",
"start": "yarn run build -- -w",
"build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js'",
"clean:dist": "del-cli dist",
"lint-staged": "lint-staged",
"prebuild": "yarn run clean:dist",
"prebuild": "yarn run clean",
"prepublish": "yarn run build",
"release": "yarn run standard-version",
"security": "nsp check",
"serve:dev": "nodemon $2 --exec babel-node",
"test:watch": "jest --watch",
"test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
"travis:coverage": "yarn run test:coverage",
"travis:lint": "yarn run lint && yarn run security"
"travis:lint": "yarn run lint && yarn run security",
"clean": "del-cli dist"
},
"engines": {
"node": ">=4.3 <5.0.0 || >=5.10"
"node": ">= 4.3 < 5.0.0 || >= 5.10"
},
"dependencies": {
"clone": "^2.1.1",
Expand All @@ -41,7 +42,7 @@
},
"devDependencies": {
"babel-cli": "^6.24.0",
"babel-jest": "^19.0.0",
"babel-jest": "^20.0.3",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-polyfill": "^6.23.0",
"babel-preset-env": "^1.2.2",
Expand All @@ -51,15 +52,15 @@
"eslint-config-webpack": "^1.2.1",
"eslint-plugin-import": "^2.2.0",
"inspect-loader": "^1.0.0",
"jest": "^19.0.2",
"jest": "^20.0.3",
"less": "^2.3.1",
"lint-staged": "^3.4.0",
"nodemon": "^1.11.0",
"nsp": "^2.6.3",
"pre-commit": "^1.2.2",
"standard-version": "^4.0.0",
"webpack": "^2.3.2",
"webpack-defaults": "^0.4.5"
"webpack-defaults": "^1.0.1"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit f4ae0cb

Please sign in to comment.