package.json 1.97 KB
Newer Older
1
2
3
4
5
6
{
  "name": "minerva-frontend",
  "version": "1.0.0",
  "description": "frontentd for minerva google maps interface",
  "main": "minerva.js",
  "scripts": {
7
    "build:css": "cleancss -o dist/minerva.css node_modules/dual-listbox/dist/*.css src/main/css/*.css",
8
    "build:js": "browserify --debug --standalone minerva src/main/js/minerva.js | exorcist dist/minerva.js.map > dist/minerva.js ",
9
    "//": "rm -rf dist & rmdir /q /s dist & mkdir dist & browserify --debug --standalone minerva src/main/js/minerva.js | exorcist dist/minerva.js.map > dist/minerva.js & uglifyjs --compress --mangle --in-source-map dist/minerva.js.map --source-map-include-sources --source-map dist/minerva.min.js.map -o dist/minerva.min.js dist/minerva.js",
10
11
    "build-deploy": "npm run build && npm run deploy",
    "build": "npm run clean && npm run build:css && npm run build:js",
Piotr Gawron's avatar
Piotr Gawron committed
12
    "clean": "node scripts/clean.js",
13
    "deploy": "copy /Y \"dist\\*.js*\" \"C:/Program Files/apache-tomcat-7.0.72/webapps/minerva/resources/js\" &&  copy /Y \"dist\\*.css\" \"C:/Program Files/apache-tomcat-7.0.72/webapps/minerva/resources/css\" ",
Piotr Gawron's avatar
Piotr Gawron committed
14
    "lint": "jshint src/.",
15
16
17
18
19
    "test": "istanbul cover node_modules/mocha/bin/_mocha -- --recursive src/test/js"
  },
  "author": "Piotr Gawron",
  "devDependencies": {
    "assert": "1.4.1",
20
    "bluebird": "^3.4.6",
21
    "bootstrap": "^3.3.7",
22
23
    "browserify": "^13.1.1",
    "chai": "^3.5.0",
24
    "clean-css-cli": "^4.1.6",
Piotr Gawron's avatar
Piotr Gawron committed
25
    "datatables.net": "^1.10.13",
26
    "exorcist": "^0.4.0",
27
    "file-url": "^2.0.0",
28
    "istanbul": "0.4.5",
29
    "jquery": "3.1.1",
Piotr Gawron's avatar
Piotr Gawron committed
30
    "jquery-ui-dist": "^1.12.1",
Piotr Gawron's avatar
Piotr Gawron committed
31
    "jsdom": "^11.1.0",
32
    "jsdom-global": "^2.1.1",
Piotr Gawron's avatar
Piotr Gawron committed
33
    "jshint": "^2.9.4",
34
    "log4js-memory-appender": "1.0.5",
35
    "mocha": "^3.4.1",
36
37
38
    "uglifyjs": "^2.4.10"
  },
  "dependencies": {
Piotr Gawron's avatar
Piotr Gawron committed
39
    "del": "^3.0.0",
Piotr Gawron's avatar
Piotr Gawron committed
40
    "dual-listbox": "^1.0.3",
41
42
    "http-status-codes": "^1.1.6",
    "js-cookie": "^2.1.3",
43
    "log4js": "0.6.38",
Piotr Gawron's avatar
Piotr Gawron committed
44
    "mkdirp": "^0.5.1",
45
    "pileup": "^0.6.8",
46
    "request": "^2.79.0"
47
48
  }
}