summaryrefslogtreecommitdiff
path: root/web-ui/package.json
blob: 480dcc551aa1abb85001bbeebdcebb11aa1ce417 (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
{
  "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-core": "^6.21.0",
    "babel-loader": "^6.2.10",
    "babel-preset-es2015": "^6.18.0",
    "bower": "1.7.9",
    "copy-webpack-plugin": "^4.0.1",
    "dompurify": "^0.8.4",
    "font-awesome": "^4.7.0",
    "handlebars": "^4.0.5",
    "he": "^1.1.0",
    "html-minifier": "2.1.6",
    "i18next": "^4.1.4",
    "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",
    "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",
    "modernizr": "^3.3.1",
    "quoted-printable": "^1.0.1",
    "requirejs": "2.2.0",
    "typeahead.js": "^0.11.1",
    "utf8": "^2.1.2",
    "watch": "0.19.1",
    "webpack": "^1.14.0"
  },
  "scripts": {
    "test": "npm run jshint --silent && npm run build --silent && 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"
  }
}