forked from bjrhodes/team-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 3.67 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 3.67 KB
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
{
"name": "easterdash",
"version": "0.0.0",
"dependencies": {
"angular": "^1.6.4",
"angular-animate": "^1.6.4",
"angular-chart.js": "^1.1.1",
"angular-cookies": "^1.6.4",
"angular-messages": "^1.6.4",
"angular-pouchdb": "^5.0.0",
"angular-resource": "^1.6.4",
"angular-route": "^1.6.4",
"angular-sanitize": "^1.6.4",
"angular-touch": "^1.6.4",
"bootstrap-sass": "^3.3.7",
"chart.js": "^2.5.0",
"express": "^4.16.2",
"highcharts-ng": "^1.1.0",
"jquery": "^3.2.1",
"ng-toast": "^2.0.0",
"ngmodal": "^2.0.1",
"pouchdb": "^6.1.2"
},
"repository": {
"type": "git",
"url": "https://github.com/SoftwareCornwall/team-dashboard"
},
"devDependencies": {
"autoprefixer": "^6.7.7",
"browser-sync": "^2.18.13",
"express": "^4.15.2",
"fs-promise": "^2.0.2",
"imagemin": "^5.2.2",
"jasmine-core": "^2.2.0",
"jshint": "^2.9.4",
"jshint-stylish": "^1.0.0",
"karma": "^0.12.31",
"karma-jasmine": "^0.3.5",
"karma-phantomjs-launcher": "^0.1.4",
"load-grunt-tasks": "^3.1.0",
"node-sass": "^4.5.2",
"onchange": "^3.2.1",
"postcss-cli": "^3.1.1",
"uglify-js": "^2.8.21"
},
"engines": {
"node": "7.5.0",
"npm": "4.1.2"
},
"scripts": {
"clean": "rm -r dist || true",
"scss": "node-sass --output-style compressed -o dist/styles app/styles",
"css": "mkdir -p dist/styles && cat node_modules/ngmodal/dist/ng-modal.css node_modules/ng-toast/dist/ngToast.css > dist/styles/vendor.css",
"fonts": "mkdir -p dist/fonts && cp node_modules/bootstrap-sass/assets/fonts/bootstrap/* dist/fonts",
"autoprefixer": "postcss -u autoprefixer --autoprefixer.browsers '> 5%, ie 9' -r dist/styles/*",
"lint": "jshint app/scripts",
"concat": "cat node_modules/jquery/dist/jquery.js node_modules/angular/angular.js node_modules/bootstrap-sass/assets/javascripts/bootstrap.js node_modules/angular-animate/angular-animate.js node_modules/angular-cookies/angular-cookies.js node_modules/angular-messages/angular-messages.js node_modules/angular-resource/angular-resource.js node_modules/angular-route/angular-route.js node_modules/angular-sanitize/angular-sanitize.js node_modules/angular-touch/angular-touch.js node_modules/pouchdb/dist/pouchdb.js node_modules/angular-pouchdb/dist/angular-pouchdb.js node_modules/chart.js/dist/Chart.js node_modules/angular-chart.js/dist/angular-chart.js node_modules/ngModal/dist/ng-modal.js node_modules/ng-toast/dist/ngToast.js node_modules/highcharts-ng/dist/highcharts-ng.js > dist/vendor.js",
"uglify": "uglifyjs app/scripts/*.js app/scripts/**/*.js -o dist/app.js && uglifyjs app/scripts/*.js -m -c -o dist/app.min.js && uglifyjs dist/vendor.js -m -c -o dist/vendor.min.js",
"imagemin": "mkdir -p dist && cp -r app/images dist/images",
"copy:views": "mkdir -p dist && cp -r app/views dist/views",
"copy:index": "mkdir -p dist && cp app/* dist/ || true",
"copy:all": "npm run copy:index; npm run copy:views",
"build:css": "npm run scss && npm run css && npm run fonts && npm run autoprefixer",
"build:js": "npm run lint && npm run concat && npm run uglify",
"build:all": "npm run clean && npm run build:css && npm run build:js && npm run imagemin && npm run copy:all",
"serve": "node server.js",
"watch:css": "onchange 'app/styles/**/*.scss' -- npm run build:css",
"watch:js": "onchange 'app/scripts/**/*.js' -- npm run build:js",
"watch:html": "onchange 'app/views/*.html' -- npm run copy:views",
"watch:index": "onchange 'app/index.html' -- npm run copy:index",
"watch:all": "npm run watch:css & npm run watch:js & npm run watch:html & npm run watch:index",
"postinstall": "npm run build:all"
}
}