-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
53 lines (53 loc) · 2.49 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
{
"name": "Rapakiwi",
"version": "0.0.1",
"description": "Wahrscheinlich hast Du auch schon mal einen Stein gefunden und Dich über seine Beschaffenheit, Farbe oder Form gewundert. Wusstest Du, dass dieses Gesteinsmaterial mehrere Millionen Jahre alt ist und in den Eiszeiten von Gletschern aus Skandinavien nach Berlin und Brandenburg transportiert wurde?",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prebuild": "rm -rf build && mkdir build",
"build": "npm run build:js && npm run build:sass && npm run build:copy",
"build:js": "browserify js/app.js | uglifyjs > js/bundle.js",
"prebuild:sass": "npm run sass-vendor-copy",
"build:sass": "sass --compass styles/main.scss:styles/main.css --style compressed",
"build:copy":
"cp index.html build/index.html && cp -r img build/img && mkdir build/js/ && cp js/bundle.js build/js/bundle.js && mkdir build/js/views && cp js/views/*.html build/js/views && mkdir build/js/directives && cp js/directives/*.html build/js/directives && mkdir build/styles && cp styles/main.css build/styles/main.css",
"dev": "npm run sass-vendor-copy && npm run dev:js-watch & npm run dev:sass-watch & npm run dev:local-server",
"dev:js-watch": "watchify js/app.js -o js/bundle.js -v",
"dev:sass-watch": "sass --compass --watch styles/main.scss:styles/main.css",
"dev:local-server": "http-server -s .",
"sass-vendor-copy":
"mkdir -p styles/vendor/leaflet && cp node_modules/leaflet/dist/leaflet.css styles/vendor/leaflet/leaflet.scss && cp node_modules/leaflet.fullscreen/Control.FullScreen.css styles/vendor/leaflet/Control.FullScreen.scss"
},
"repository": {
"type": "git",
"url": "https://github.com/knutator2/Rolling-Stone.git"
},
"author": "Thomas Fett, Knut Perseke",
"license": "MIT",
"bugs": {
"url": "https://github.com/knutator2/Rolling-Stone/issues"
},
"homepage": "https://github.com/knutator2/Rolling-Stone",
"dependencies": {
"angular": "^1.4.7",
"angular-animate": "^1.4.7",
"angular-leaflet-directive": "^0.8.8",
"angular-resource": "^1.4.7",
"angular-route": "^1.4.7",
"angular-simple-logger": "^0.1.4",
"d3": "^3.5.6",
"jquery": "^2.1.4",
"leaflet": "^0.7.5",
"leaflet-easybutton": "^1.1.2",
"leaflet.fullscreen": "^1.3.0",
"modernizr": "^3.1.0",
"underscore": "^1.8.3"
},
"devDependencies": {
"browserify": "^13.0.0",
"http-server": "^0.8.5",
"uglify-js": "^2.6.1",
"watchify": "^3.7.0"
}
}