Skip to content

Commit

Permalink
STRF-4965: Minor modifications to build
Browse files Browse the repository at this point in the history
* Move stencil-cli and grunt-cli to devDependencies
* Use npx to run tests using local instead of global packages
  • Loading branch information
mattolson committed Jan 8, 2019
1 parent 0d08e39 commit 537c9f6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ node_modules/
assets/css-artifacts
assets/js/bundle.js
assets/dist
vendor/bundle
.bundle
*.js.map
*.zip
.idea/
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
language: node_js
node_js:
- 6
- 8
sudo: required
dist: trusty
install:
- bundle install
- npm install -g grunt-cli
- npm install -g bigcommerce/stencil-cli
- bundle install --path vendor/bundle
- npm install
script:
- grunt check
- stencil bundle
- npx grunt check
- npx stencil bundle
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
},
"devDependencies": {
"@bigcommerce/citadel": "^2.15.1",
"@bigcommerce/stencil-cli": "^1.15.4",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-loader": "^7.1.4",
Expand All @@ -42,6 +43,7 @@
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"grunt": "^1.0.1",
"grunt-cli": "^1.3.2",
"grunt-eslint": "^20.0.0",
"grunt-karma": "^2.0.0",
"grunt-scss-lint": "^0.5.0",
Expand All @@ -59,6 +61,7 @@
"karma-webpack": "^2.0.4",
"load-grunt-config": "^0.19.2",
"lodash-webpack-plugin": "^0.11.2",
"npx": "^10.2.0",
"regenerator-runtime": "^0.11.0",
"time-grunt": "^1.2.2",
"webpack": "^4.1.1",
Expand Down

0 comments on commit 537c9f6

Please sign in to comment.