summaryrefslogtreecommitdiff
path: root/web-ui/package.json
blob: 4f18251f29202a2648dc897ef391c047e2973c37 (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
{
  "name": "pixelated-user-agent-web-ui",
  "version": "0.0.0",
  "devDependencies": {
    "bower": "1.3.12",
    "minify": "1.4.1",
    "handlebars": "2.0.0",
    "html-minifier": "^0.6.9",
    "imagemin": "3.1.0",
    "jshint": "2.5.10",
    "jshint-stylish": "1.0.0",
    "karma": "0.12.28",
    "karma-chrome-launcher": "0.1.7",
    "karma-firefox-launcher": "0.1.3",
    "karma-jasmine": "0.2.2",
    "karma-junit-reporter": "0.2.2",
    "karma-phantomjs-launcher": "0.1.4",
    "karma-requirejs": "0.2.2",
    "requirejs": "2.1.15"
  },
  "scripts": {
    "test": "npm run clean && npm run handlebars && node_modules/karma/bin/karma start --single-run --browsers PhantomJS $GRUNT_OPTS",
    "watch-test": "node_modules/karma/bin/karma start",
    "handlebars": "mkdir -p app/js/generated/hbs/ && handlebars app/templates/**/*.hbs > app/js/generated/hbs/templates.js --namespace=window.Pixelated --root .",
    "compass": "compass compile",
    "build": "npm run clean && npm run handlebars && npm run compass",
    "jshint": "node_modules/.bin/jshint --config=.jshintrc `find app -name '*.js' | grep -v -e 'lib' -e 'bower' -e 'generated'`",
    "clean": "rm -rf .tmp/ dist/**/* app/js/generated/hbs/* app/css/*",
    "buildmain": "node_modules/requirejs/bin/r.js -o config/buildoptions.js",
    "package": "/bin/bash config/package.sh",
    "imagemin": "node config/imagemin.js",
    "minify_html": "node_modules/.bin/html-minifier app/index.html --collapse-whitespace | sed 's|<!--usemin_start-->.*<!--usemin_end-->|<script src=\"app.min.js\" type=\"text/javascript\"></script>|' > dist/index.html"
  }
}