Skip to content

Commit

Permalink
Merge pull request mui#2084 from oliviertassinari/npm
Browse files Browse the repository at this point in the history
[npm] Separate the lint and the build
  • Loading branch information
oliviertassinari committed Nov 8, 2015
2 parents b4f8f8a + 230bfcf commit df5f6ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ language: node_js
node_js:
- "stable"
sudo: false
script:
- npm run lint
- npm test
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"test-watch": "npm run test-base -- --auto-watch",
"test-base": "./node_modules/.bin/karma start",
"prebuild": "rimraf lib",
"eslint": "gulp eslint",
"build": "npm run eslint && babel --stage 1 ./src --out-dir ./lib",
"lint": "gulp eslint",
"build": "babel --stage 1 ./src --out-dir ./lib",
"prepublish": "npm run build"
},
"keywords": [
Expand Down Expand Up @@ -53,7 +53,7 @@
"babelify": "^6.1.3",
"browserify-istanbul": "^0.2.1",
"chai": "^3.2.0",
"eslint": "^1.1.0",
"eslint": "~1.8.0",
"eslint-loader": "^1.0.0",
"eslint-plugin-react": "^3.2.2",
"fbjs": "^0.2.1",
Expand Down

0 comments on commit df5f6ed

Please sign in to comment.