-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.89 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.89 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
75
{
"name": "hello-p5.js",
"version": "1.0.0",
"description": "An introduction video for p5.js",
"repository": {
"type": "git",
"url": "git+https://github.com/emclaren/hello-p5.git"
},
"bugs": "https://github.com/emclaren/hello-p5/issues",
"scripts": {
"compile": "babel dist/js/bundleTemp.js -o dist/js/mainBundle.js",
"autoprefixer": "postcss -u autoprefixer --map -r dist/css/main.css",
"scss": "node-sass --output-style compressed -x -o dist/css/ src/scss",
"lint": "eslint src/js || true",
"lint-scss": "stylelint src/scss/partials/*.scss --syntax scss || true",
"serve": "browser-sync start --server --files \"dist/css/*.css, dist/js/mainBundle.js, dist/js/language.js, **/*.html, !node_modules/**/*.html\"",
"build:css": "run-s lint-scss scss autoprefixer",
"build:js": "browserify src/js/main.js -o dist/js/bundleTemp.js ",
"build:jsLanguage": "browserify src/js/language.js -o dist/js/language.js ",
"build:video": "mkdirp dist/assets/video && cp -r src/assets/video/* dist/assets/video/",
"build:captions": "mkdirp dist/assets/captions && cp -r src/assets/captions/* dist/assets/captions/",
"build:fonts": "mkdirp dist/assets/fonts && cp -r src/assets/fonts/* dist/assets/fonts/",
"build:images": "run-s imagemin",
"watch:bundle": "onchange \"dist/js/bundleTemp.js\" -- run-s compile",
"watch:css": "onchange \"src/scss\" -- run-s build:css",
"watch:js": "onchange \"src/js\" -- run-s build:js",
"watch:jsLanguage": "onchange \"src/js/language.js\" -- run-s build:jsLanguage",
"watch:vtt": "onchange \"src/assets/captions/\" -- run-s build:captions",
"watch:fonts": "onchange \"src/assets/fonts/\" -- run-s build:fonts",
"watch:video": "onchange \"src/assets/video/\" -- run-s build:video",
"imagemin": "imagemin src/assets/img/* -o dist/assets/img/",
"watch:images": "onchange \"src/assets/img\" -- run-s build:images",
"build": "run-s build:* ",
"watch": "run-p serve watch:*",
"postinstall": "run-s build watch"
},
"devDependencies": {
"autoprefixer": "^9.3.1",
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-minify": "^0.4.3",
"browser-sync": "^2.26.5",
"eslint": "^5.9.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"imagemin-cli": "^3.0.0",
"mkdirp": "^0.5.1",
"node-sass": "^4.10.0",
"npm-run-all": "^4.1.5",
"onchange": "^4.1.0",
"postcss-cli": "^6.1.2",
"stylelint": "^9.9.0",
"stylelint-config-standard": "^18.2.0"
},
"dependencies": {
"p5": "^0.7.2",
"plyr": "^3.4.7"
},
"browserify": {
"debug": true
},
"babel": {
"presets": [
"minify",
"env"
],
"sourceMaps": "false"
},
"stylelint": {
"extends": "stylelint-config-standard"
}
}