-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.64 KB
/
Copy pathpackage.json
File metadata and controls
48 lines (48 loc) · 1.64 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
{
"name": "gif_tv",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"buildServer": "babel lib -d dist",
"build:html": "cp -R src/html/* public/html/",
"watch:html": "nodemon -w src/html -e html -x 'npm run build:html'",
"build:css": "node-sass --include-path scss src/scss/style.scss public/css/main.css",
"watch:css": "nodemon -w src/scss -e scss -x 'npm run build:css'",
"build:js": "babel src -d public",
"watch:js": "nodemon -w src/js -x 'npm run build:js'",
"build:assets": "cp -R src/assets/*/* public/assets/GIFS/",
"watch:assets": "onchange 'src/assets/**/*.*' -v -- npm run build:assets",
"build:dirTree": "cd src && find . -type d -exec mkdir -p -- ../public/{} \\; && mv ../public/scss ../public/css",
"build": "npm run clean && npm run build:dirTree && npm run build:html && npm run build:css && npm run build:js && npm run build:assets",
"watch": "parallelshell 'npm run watch:html' 'npm run watch:css' 'npm run watch:js' 'npm run watch:assets'",
"serve": "nodemon server.js",
"clean": "rm -rf public/"
},
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.15.2",
"gify-parse": "^1.0.6"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-preset-env": "^1.4.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-register": "^6.24.1",
"mocha": "^3.4.1",
"node-sass": "^4.5.3",
"nodemon": "^1.11.0",
"onchange": "^3.2.1",
"parallelshell": "^2.0.0"
},
"babel": {
"presets": [
"es2015",
"stage-2"
],
"plugins": []
}
}