summaryrefslogtreecommitdiff
path: root/web-ui/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/package.json')
-rw-r--r--web-ui/package.json64
1 files changed, 46 insertions, 18 deletions
diff --git a/web-ui/package.json b/web-ui/package.json
index 017e6d38..20b06ffd 100644
--- a/web-ui/package.json
+++ b/web-ui/package.json
@@ -9,29 +9,39 @@
"babel-cli": "^6.22.2",
"babel-core": "^6.21.0",
"babel-loader": "^6.2.10",
+ "babel-plugin-istanbul": "^3.1.2",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.22.0",
+ "babel-preset-stage-0": "^6.22.0",
"bower": "1.7.9",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.26.1",
"dompurify": "^0.8.4",
"enzyme": "^2.7.1",
+ "eslint": "^3.15.0",
+ "eslint-config-airbnb": "^14.1.0",
+ "eslint-plugin-import": "^2.2.0",
+ "eslint-plugin-jsx-a11y": "^4.0.0",
+ "eslint-plugin-react": "^6.9.0",
"expect": "^1.20.2",
"file-loader": "^0.10.0",
"font-awesome": "^4.7.0",
"handlebars": "^4.0.5",
"he": "^1.1.0",
"html-minifier": "2.1.6",
- "i18next": "^4.1.4",
+ "i18next": "^6.1.2",
"i18next-browser-languagedetector": "^1.0.1",
"i18next-xhr-backend": "^1.2.1",
"iframe-resizer": "^3.5.7",
"imagemin": "5.2.1",
+ "imagemin-pngquant": "^5.0.0",
+ "imagemin-svgo": "^5.2.0",
"jasmine-flight": "^4.0.0",
"jasmine-jquery": "^2.1.1",
"jquery": "^3.1.1",
"jquery-file-upload": "^4.0.5",
"jquery-ui": "^1.12.1",
+ "jsdom": "^9.10.0",
"jshint": "2.9.2",
"json-loader": "^0.5.4",
"karma": "0.13.19",
@@ -43,45 +53,63 @@
"karma-junit-reporter": "0.2.2",
"karma-phantomjs-launcher": "1.0.1",
"karma-requirejs": "1.0.0",
+ "material-ui": "^0.17.0",
"minify": "^2.0.13",
"mocha": "^3.2.0",
"mocha-webpack": "^0.7.0",
"modernizr": "^3.3.1",
"node-sass": "^4.5.0",
+ "nyc": "^10.1.2",
+ "postcss-loader": "^1.2.2",
"quoted-printable": "^1.0.1",
"react": "^15.4.2",
"react-a11y": "^0.3.3",
"react-addons-test-utils": "^15.4.2",
+ "react-document-title": "^2.0.2",
"react-dom": "^15.4.2",
+ "react-i18next": "^2.1.0",
+ "react-tap-event-plugin": "^2.0.1",
"requirejs": "2.2.0",
"sass-loader": "^4.1.1",
"style-loader": "^0.13.1",
"typeahead.js": "^0.11.1",
"url-loader": "^0.5.7",
"utf8": "^2.1.2",
+ "validator": "^7.0.0",
"watch": "0.19.1",
"webpack": "^1.14.0"
},
"scripts": {
- "test": "npm run jshint --silent && npm run build-statics --silent && npm run mocha-test && npm run karma-test",
- "mocha-test": "mocha-webpack --webpack-config webpack.test.config.js \"test/spec/account_recovery/**/*.spec.js\"",
- "karma-test": "karma start --single-run $GRUNT_OPTS",
- "debug": "npm run build && karma start --browsers Chrome $GRUNT_OPTS",
- "watch": "npm run compass-watch & npm run handlebars-watch & npm run build-js-watch",
- "watch-test": "karma start",
- "handlebars": "mkdir -p app/js/generated/hbs/ && handlebars app/templates/**/*.hbs > app/js/generated/hbs/templates.js --namespace=window.Pixelated --root .",
- "handlebars-watch": "watch 'npm run handlebars' app/templates",
- "compass": "compass compile",
- "compass-watch": "compass watch",
- "build": "npm run build-statics && npm run build-js",
- "build-statics": "npm run clean && npm run handlebars && npm run add_git_version && npm run compass",
- "build-prod": "npm run build-statics && webpack -p --config ./webpack.production.config.js",
- "build-js": "webpack --colors --progress",
- "build-js-watch": "webpack --colors --progress --watch",
- "jshint": "jshint --config=.jshintrc app test",
+ "test": "npm run lint --silent && npm run build:statics --silent && npm run test:unit && npm run test:integration",
+ "test:unit": "npm run test:coverage && npm run test:karma",
+ "test:integration": "mocha-webpack --webpack-config webpack.test.config.js --require test/integration/setup.js \"test/integration/**/*.spec.js\"",
+ "test:coverage": "NODE_ENV=test nyc --check-coverage npm run test:mocha",
+ "test:mocha": "mocha-webpack --webpack-config webpack.test.config.js \"src/**/*.spec.js\"",
+ "test:karma": "karma start --single-run $GRUNT_OPTS",
+ "test:watch:mocha": "npm run test:mocha -- --watch",
+ "test:watch:karma": "karma start",
+ "lint": "npm run lint:jshint && npm run lint:eslint",
+ "lint:jshint": "jshint --config=.jshintrc app test",
+ "lint:eslint": "eslint src test/unit",
+ "build": "npm run build:statics && npm run build:js",
+ "build:debug": "npm run build && karma start --browsers Chrome $GRUNT_OPTS",
+ "build:statics": "npm run clean && npm run build:handlebars && npm run add_git_version && npm run build:compass",
+ "build:prod": "npm run build:statics && webpack -p --config ./webpack.production.config.js",
+ "build:js": "webpack --colors --progress",
+ "build:compass": "compass compile",
+ "build:handlebars": "mkdir -p app/js/generated/hbs/ && handlebars app/templates/**/*.hbs > app/js/generated/hbs/templates.js --namespace=window.Pixelated --root .",
+ "watch": "npm run watch:compass & npm run watch:handlebars & npm run watch:js",
+ "watch:handlebars": "watch 'npm run build:handlebars' app/templates",
+ "watch:compass": "compass watch",
+ "watch:js": "webpack --colors --progress --watch",
"clean": "rm -rf app/js/generated/hbs/* app/css/*",
- "package": "PIXELATED_BUILD='package' npm run build-prod && npm run imagemin",
"imagemin": "node config/imagemin.js",
+ "package": "npm run build:prod && npm run imagemin",
"add_git_version": "/bin/bash config/add_git_version.sh"
+ },
+ "nyc": {
+ "include": [
+ "src/**/*.js"
+ ]
}
}