summaryrefslogtreecommitdiff
path: root/web-ui/package.json
blob: dba34e979cae8eb56687cca7c1a50b2f7d640710 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
  "name": "pixelated-user-agent-web-ui",
  "version": "0.0.0",
  "description": "The front-end module for the pixelated user agent",
  "repository": "https://github.com/pixelated-project/pixelated-user-agent",
  "private": true,
  "devDependencies": {
    "babel": "^6.5.2",
    "babel-cli": "^6.22.2",
    "babel-core": "^6.21.0",
    "babel-loader": "^6.2.10",
    "babel-preset-es2015": "^6.18.0",
    "babel-preset-react": "^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",
    "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": "^6.1.2",
    "i18next-browser-languagedetector": "^1.0.1",
    "i18next-xhr-backend": "^1.2.1",
    "iframe-resizer": "^3.5.7",
    "imagemin": "5.2.1",
    "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",
    "jshint": "2.9.2",
    "json-loader": "^0.5.4",
    "karma": "0.13.19",
    "karma-chrome-launcher": "0.2.2",
    "karma-coverage": "0.2.7",
    "karma-firefox-launcher": "0.1.7",
    "karma-jasmine": "0.2.2",
    "karma-jasmine-ajax": "0.1.13",
    "karma-junit-reporter": "0.2.2",
    "karma-phantomjs-launcher": "1.0.1",
    "karma-requirejs": "1.0.0",
    "minify": "^2.0.13",
    "mocha": "^3.2.0",
    "mocha-webpack": "^0.7.0",
    "modernizr": "^3.3.1",
    "node-sass": "^4.5.0",
    "quoted-printable": "^1.0.1",
    "react": "^15.4.2",
    "react-a11y": "^0.3.3",
    "react-addons-test-utils": "^15.4.2",
    "react-dom": "^15.4.2",
    "react-i18next": "^2.1.0",
    "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",
    "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/unit/**/*.spec.js\"",
    "mocha-watch": "mocha-webpack --watch --webpack-config webpack.test.config.js \"test/unit/**/*.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",
    "clean": "rm -rf dist/ app/js/generated/hbs/* app/css/*",
    "package": "PIXELATED_BUILD='package' npm run build-prod && npm run imagemin",
    "imagemin": "node config/imagemin.js",
    "add_git_version": "/bin/bash config/add_git_version.sh"
  }
}