-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
190 lines (190 loc) · 6.31 KB
/
package.json
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"name": "smartbirds-web",
"version": "1.17.2",
"description": "SmartBirds Web",
"author": "Geno Roupsky",
"private": true,
"engines": {
"node": ">=8"
},
"devDependencies": {
"budo": "^11.8.4",
"cypress": "^13.1.0",
"disc": "^1.3.3",
"fantasticon": "^2.0.0",
"http-server": "^14.1.1",
"husky": "^8.0.1",
"lint-staged": "^13.1.0",
"local-cors-proxy": "^1.1.0",
"standard": "^17.0.0",
"start-server-and-test": "^2.0.1",
"watch": "^1.0.2",
"watchify": "^4.0.0"
},
"scripts": {
"deploy": "yarn version && git push && git push --tags && git push origin HEAD:production && echo 'ssh smartbirds.org \"smartbirds update-web\"'",
"start": "npm run budo",
"start:static": "http-server public",
"less": "lessc",
"pretest": "standard",
"test": "echo 'No tests are defined'",
"cypress": "cypress run",
"cypress:open": "cypress open",
"dev": "parallelshell 'npm run budo' 'npm run build:css:watch'",
"build:js:debug": "browserify ./client/scripts/app.js -d -o ./public/js/scripts.js",
"build:js": "cross-env NODE_ENV=${ENV:=production} browserify -g envify --debug -e ./client/scripts/app.js | uglifyjs -c -m > ./public/js/scripts.js",
"postbuild:js": "cross-env NODE_ENV=${ENV:=production} rollup -c rollup.config.sw.js",
"discify": "cross-env NODE_ENV=${ENV:=production} browserify --full-paths -g envify --debug -e ./client/scripts/app.js | uglifyjs -c warnings=false -m | discify > ./public/disc.html",
"build:js:watch": "watchify ./client/scripts/app.js -d -o ./public/js/scripts.js -v",
"build:css": "lessc --clean-css --source-map --source-map-less-inline client/styles/main.less public/css/main.css",
"build:css:watch": "watch 'npm run build:css' client/styles",
"build:icons": "npx fantasticon",
"build": "npm run build:css && npm run build:icons && npm run build:js",
"budo": "budo ./client/scripts/app.js --serve js/scripts.js -d public/ --live --pushstate",
"build:fonts": "rm -rf public/fonts/font-awesome; cp -r node_modules/font-awesome/fonts public/fonts/font-awesome; rm -rf public/fonts/glyphicons; cp -r node_modules/bootstrap/fonts public/fonts/glyphicons",
"build:views": "rm -rf public/views; cp -r client/views public/views",
"proxy": "lcp --proxyUrl http://smartbirds-staging.herokuapp.com/ --proxyPartial '' --origin http://localhost:9966 --credentials",
"proxy:prod": "lcp --proxyUrl https://smartbirds.org/ --proxyPartial '' --origin http://localhost:9966 --credentials",
"start:local": "STATS_PREFIX=http://localhost:5000 API_PREFIX=http://localhost:5000/api TRANSLATION_PREFIX=http://localhost:5000/api/i18n npm run budo",
"start:proxied": "STATS_PREFIX=http://localhost:8010 API_PREFIX=http://localhost:8010/api TRANSLATION_PREFIX=http://localhost:8010/api/i18n npm run budo",
"prepare": "node scripts/prepare.js"
},
"dependencies": {
"@lordfriend/nya-bootstrap-select": "^2.1.10",
"@rollup/plugin-inject": "^5.0.3",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-virtual": "^2.1.0",
"angular": "^1.8.0",
"angular-animate": "^1.8.3",
"angular-bootstrap-lightbox": "^0.12.0",
"angular-cookies": "^1.8.3",
"angular-file-upload": "^2.6.1",
"angular-filter": "^0.5.17",
"angular-google-maps": "^2.3.4",
"angular-i18n": "^1.8.3",
"angular-loading-bar": "^0.9.0",
"angular-resource": "^1.8.3",
"angular-sanitize": "^1.8.3",
"angular-simple-logger": "^0.1.7",
"angular-strap": "^2.3.12",
"angular-translate": "^2.18.4",
"angular-translate-loader-url": "^2.19.0",
"angular-ui-bootstrap": "^2.5.6",
"angular-ui-router": "^1.0.29",
"angular-xml": "^2.2.5",
"angulartics": "^1.1.3",
"angulartics-google-analytics": "^0.2.1",
"blueimp-md5": "^2.19.0",
"bootstrap": "^3.3.7",
"browserify": "~17.0.0",
"browserify-ngannotate": "^2.0.0",
"browserify-shim": "~3.8.16",
"bulk-require": "~1.0.1",
"bulkify": "~1.4.2",
"cross-env": "^7.0.3",
"csv-parse": "^5.3.8",
"envify": "~4.1.0",
"font-awesome": "^4.5.0",
"less": "~4.1.3",
"less-plugin-clean-css": "~1.5.1",
"localforage": "^1.10.0",
"lodash": "^4.17.21",
"minifyify": "^7.3.5",
"moment": "^2.29.4",
"moment-timezone": "^0.5.37",
"ng-infinite-scroll": "^1.2.1",
"ng-toast": "^2.0.0",
"ngstorage": "^0.3.11",
"odometer": "^0.4.8",
"parallelshell": "^3.0.2",
"querystring": "^0.2.1",
"raven": "^2.6.4",
"raven-js": "^2.3.0",
"rollup": "^2.79.1",
"rollup-plugin-terser": "^7.0.2",
"simplify-js": "^1.2.4",
"startbootstrap-sb-admin-2": "^1.0.7",
"stringify": "^5.2.0",
"uglify-js": "^3.17.4",
"ui-select": "^0.19.8",
"underscore.string": "^3.3.6",
"workbox-cacheable-response": "^6.5.4",
"workbox-core": "^6.5.3",
"workbox-expiration": "^6.5.4",
"workbox-google-analytics": "^6.5.4",
"workbox-precaching": "^6.5.4",
"workbox-routing": "^6.5.3",
"workbox-strategies": "^6.5.3",
"workbox-window": "^6.5.4",
"x2js": "^3.4.4"
},
"browser": {
"angular-bootstrap-lightbox": "./node_modules/angular-bootstrap-lightbox/dist/angular-bootstrap-lightbox.js",
"ng-infinite-scroll": "./node_modules/ng-infinite-scroll/build/ng-infinite-scroll.js"
},
"browserify-shim": {
"angular": "angular",
"angular-google-maps": {
"depends": [
"angular:angular",
"lodash:_"
]
},
"lodash": "_",
"ng-toast": {
"depends": [
"angular:angular"
]
},
"ng-infinite-scroll": {
"depends": [
"angular:angular"
]
},
"angular-file-upload": {
"depends": [
"angular:angular"
]
},
"ngstorage": {
"depends": [
"angular:angular"
]
},
"x2js": "X2JS",
"angular-bootstrap-lightbox": {
"depends": [
"angular:angular"
]
},
"angular-translate": {
"depends": [
"angular:angular"
]
},
"angular-translate-loader-url": {
"depends": [
"angular:angular"
]
}
},
"browserify": {
"transform": [
"stringify",
"browserify-shim",
"bulkify",
"envify",
"browserify-ngannotate"
]
},
"standard": {
"ignore": [
"/public/"
]
},
"lint-staged": {
"*.js": [
"standard --fix"
]
}
}