forked from mdn/interactive-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.92 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
{
"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",
"lint-css": "stylelint css/*.css",
"lint-js": "eslint js/",
"start-server": "http-server -p 9090 ./docs",
"start-testing-server": "http-server -p 9000 ./docs",
"start-watch": "chokidar '**/{*.js,*.css,*.html,*.json}' -i 'package.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",
"tests": "jest",
"test": "npm-run-all lint-css lint-js tests perf",
"test:watch": "jest --watch",
"precommit": "npm test"
},
"jest": {
"preset": "jest-puppeteer"
},
"keywords": [
"javascript",
"css",
"nodejs",
"page-generator",
"mdn",
"mozilla"
],
"devDependencies": {
"all-contributors-cli": "5.3.0",
"browserify": "16.2.2",
"bundlesize": "0.17.0",
"chokidar-cli": "1.2.0",
"clean-css": "4.1.11",
"concat": "1.0.3",
"eslint": "5.2.0",
"fs-extra": "7.0.0",
"glob": "7.1.2",
"http-server": "0.11.1",
"husky": "0.14.3",
"jest": "23.4.1",
"jest-environment-node": "23.4.0",
"jest-puppeteer": "3.2.1",
"node-dir": "0.1.17",
"npm-run-all": "4.1.3",
"prettier": "1.13.7",
"prettier-eslint": "8.8.2",
"prettier-stylelint": "0.4.2",
"puppeteer": "1.6.1",
"stylelint": "9.4.0",
"uglify-es": "3.3.9"
}
}