forked from mdn/interactive-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.52 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
{
"name": "interactive-examples",
"version": "1.0.0",
"description": "Interactive code exmaples embedded on MDN",
"author": "Mozilla",
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/mdn/interactive-examples.git"
},
"bugs": {
"url": "https://github.com/mdn/interactive-examples/issues"
},
"homepage": "https://github.com/mdn/interactive-examples#readme",
"main": "index.js",
"bundlesize": [
{
"path": "./docs/css/css-examples-libs-1-8-4.css",
"maxSize": "4 kB"
},
{
"path": "./docs/css/editor-js.css",
"maxSize": "1 kB"
},
{
"path": "./docs/js/editor-css.js",
"maxSize": "11 kB"
},
{
"path": "./docs/js/editor-js.js",
"maxSize": "4 kB"
}
],
"scripts": {
"build-css-bundle":
"browserify js/editable-css.js -o js/editor-css-bundle.js",
"build-js-bundle":
"browserify js/editable-js.js -o js/editor-js-bundle.js",
"build-tabbed-js-bundle":
"browserify js/editor.js -o js/editor-bundle.js",
"build-pages": "node index.js",
"build":
"npm-run-all build-css-bundle build-js-bundle build-tabbed-js-bundle build-pages",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"start-server": "http-server ./docs",
"start-watch":
"chokidar '**/{*.js,*.css,*.html,*.json}' -i 'docs/**' -i 'node_modules/**' -i 'js/editor-*.js' -c 'npm run build' --initial --silent",
"start": "npm-run-all --parallel start-watch start-server",
"perf": "bundlesize",
"unit-tests": "jest",
"test": "npm-run-all unit-tests build perf",
"test:watch": "jest --watch",
"precommit": "npm run test"
},
"keywords": [
"javascript",
"css",
"nodejs",
"page-generator",
"mdn",
"mozilla"
],
"devDependencies": {
"all-contributors-cli": "^4.10.0",
"browserify": "^14.5.0",
"bundlesize": "^0.15.3",
"chokidar-cli": "^1.2.0",
"clean-css": "^4.1.8",
"concat": "^1.0.3",
"fs-extra": "^3.0.1",
"glob": "^7.1.2",
"http-server": "^0.10.0",
"husky": "^0.14.3",
"jest": "^21.2.1",
"node-dir": "^0.1.16",
"npm-run-all": "^4.0.2",
"uglify-es": "^3.0.3"
}
}