forked from internetarchive/openlibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 1.68 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
{
"name": "openlibrary",
"version": "1.0.0",
"repository": "github:internetarchive:openlibrary",
"license": "AGPL-3.0",
"scripts": {
"build-assets": "make js && make css",
"check-bundles": "npm run build-assets && bundlesize",
"svg-min": "svgo static/images/**/*.svg && svgo static/images/*.svg",
"lint:fix": "stylelint --syntax less --fix static/css/",
"lint:js": "eslint --config .eslintrc.json openlibrary/plugins/openlibrary/js/",
"test": "npm run check-bundles && stylelint --syntax less static/css/ && npm run lint:js"
},
"bundlesize": [
{
"path": "static/build/vendor-v2.js",
"maxSize": "172KB"
},
{
"path": "static/build/all.js",
"maxSize": "31KB"
},
{
"path": "static/build/page-admin.css",
"maxSize": "19.1KB"
},
{
"path": "static/build/page-book.css",
"maxSize": "7.1KB"
},
{
"path": "static/build/page-edit.css",
"maxSize": "18.9KB"
},
{
"path": "static/build/page-form.css",
"maxSize": "18.8KB"
},
{
"path": "static/build/page-home.css",
"maxSize": "4.3KB"
},
{
"path": "static/build/page-plain.css",
"maxSize": "18.9KB"
},
{
"path": "static/build/page-subject.css",
"maxSize": "6.1KB"
},
{
"path": "static/build/page-user.css",
"maxSize": "18.7KB"
}
],
"devDependencies": {
"bundlesize": "^0.17.0",
"detect-libc": "^1.0.3",
"eslint": "^5.7.0",
"less": "^3.8.1",
"node-gyp": "^3.8.0",
"prebuild-install": "^5.2.1",
"stylelint": "^9.5.0",
"stylelint-declaration-use-variable": "^1.7.0",
"svgo": "^1.1.1"
},
"dependencies": {}
}