forked from internetarchive/openlibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 3.65 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "openlibrary",
"version": "1.0.0",
"repository": "github:internetarchive:openlibrary",
"license": "AGPL-3.0",
"watch": {
"build-assets:css": {
"patterns": [
"static",
"css"
],
"extensions": "less",
"quiet": false
}
},
"scripts": {
"watch": "env WEBPACK_PACKAGE=webpack5 npx webpack --watch --mode=development --progress",
"watch-css": "npm-watch build-assets:css",
"build-assets:webpack": "env NODE_ENV=production WEBPACK_PACKAGE=webpack5 npx webpack --mode=production",
"build-assets": "make js && make css && make components",
"build-assets:css": "make css",
"build-assets:components": "make components",
"build-assets:js": "make js",
"svg-min": "svgo --config config/svgo.config.js static/images/**/*.svg static/images/*.svg",
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "eslint --ext js,vue .",
"lint:css": "stylelint ./**/*.less",
"lint-fix": "npm run lint-fix:js && npm run lint-fix:css",
"lint-fix:js": "eslint --fix --ext js,vue .",
"lint-fix:css": "stylelint --fix ./**/*.{less,vue}",
"test": "npm run test:js && bundlesize",
"test:js": "jest",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"deploy-storybook": "storybook-to-ghpages --ci --branch=storybook"
},
"devDependencies": {
"@babel/core": "7.14.8",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/preset-env": "7.14.9",
"@babel/register": "7.15.3",
"@ericblade/quagga2": "^1.7.4",
"@storybook/addon-actions": "6.3.8",
"@storybook/addon-essentials": "6.3.8",
"@storybook/addon-links": "6.3.8",
"@storybook/storybook-deployer": "2.8.12",
"@storybook/vue": "6.3.8",
"@vue/cli": "4.5.13",
"@vue/cli-plugin-babel": "4.5.13",
"@vue/cli-plugin-eslint": "4.5.13",
"@vue/cli-service": "4.5.13",
"babel-eslint": "10.1.0",
"babel-loader": "8.2.2",
"bundlesize": "0.18.1",
"chart.js": "2.9.4",
"chartjs-plugin-datalabels": "0.7.0",
"core-js": "3.16.0",
"css-loader": "5.2.7",
"datatables.net-dt": "1.10.25",
"details-polyfill": "1.2.0",
"diff": "4.0.1",
"eslint": "6.8.0",
"eslint-plugin-no-jquery": "2.6.0",
"eslint-plugin-vue": "7.15.0",
"flot": "0.8.3",
"isbn3": "1.1.1",
"jest": "27.5.1",
"jquery": "3.6.0",
"jquery-colorbox": "1.6.4",
"jquery-ui": "1.12.1",
"jquery-validation": "1.19.3",
"less": "4.1.1",
"less-loader": "7.3.0",
"less-plugin-clean-css": "1.5.1",
"lodash": "4.17.21",
"lucene-query-parser": "1.2.0",
"npm-watch": "0.11.0",
"promise-polyfill": "8.2.0",
"regenerator-runtime": "0.13.7",
"sinon": "14.0.0",
"slick-carousel": "1.6.0",
"style-loader": "2.0.0",
"stylelint": "13.13.1",
"stylelint-declaration-use-variable": "1.7.3",
"svgo": "2.3.1",
"vue": "2.6.14",
"vue-async-computed": "3.9.0",
"vue-loader": "15.9.8",
"vue-multiselect": "2.1.6",
"vue-template-compiler": "2.6.14",
"webpack": "4.46.0",
"webpack-cli": "4.7.0",
"webpack5": "npm:[email protected]",
"workbox-webpack-plugin": "6.1.5"
},
"jest": {
"roots": [
"<rootDir>/openlibrary/plugins/openlibrary/js/",
"<rootDir>/tests/unit/js/"
],
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/tests/unit/js/styleMock.js"
},
"testEnvironment": "jsdom",
"collectCoverageFrom": [
"openlibrary/plugins/openlibrary/js/**/*.js"
],
"coverageThreshold": {
"global": {
"branches": 14,
"functions": 13,
"lines": 16,
"statements": 16
}
},
"collectCoverage": true
}
}