Use package.json for all deps

This commit is contained in:
Łukasz Mierzwa
2017-07-29 11:16:38 -07:00
parent ac606d3972
commit df2ef92466
2 changed files with 11 additions and 2 deletions

View File

@@ -5,10 +5,12 @@ go:
go_import_path: github.com/cloudflare/unsee
env:
- NODE_ENV=test
before_script:
- nvm install 6
- npm install jest
- npm install eslint
- npm install
script:
- make test

View File

@@ -5,6 +5,11 @@
"scripts": {
"test": "jest --coverage"
},
"jest": {
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/assets/static/__mocks__/styleMock.js"
}
},
"dependencies": {
"bootstrap-select": "^1.12.4",
"bootstrap-switch": "^3.3.4",
@@ -34,8 +39,10 @@
"bootstrap-loader": "^2.1.0",
"bootstrap-sass": "^3.3.7",
"css-loader": "^0.28.4",
"eslint": "^4.3.0",
"expose-loader": "^0.7.3",
"file-loader": "^0.11.2",
"jest": "^20.0.4",
"less": "^2.7.2",
"node-sass": "^4.5.3",
"resolve-url-loader": "^2.1.0",