forked from internetarchive/bookreader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
92 lines (92 loc) · 3.03 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
{
"name": "@internetarchive/bookreader",
"version": "4.38.0",
"description": "The Internet Archive BookReader.",
"repository": {
"type": "git",
"url": "git+https://github.com/internetarchive/bookreader.git"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"online",
"bookreader",
"interface",
"ebooks",
"internet archive"
],
"author": "Internet Archive",
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/internetarchive/bookreader/issues"
},
"homepage": "https://github.com/internetarchive/bookreader#readme",
"dependencies": {},
"private": false,
"devDependencies": {
"@babel/core": "7.12.9",
"@babel/preset-env": "7.12.7",
"@types/jest": "26.0.21",
"babel-loader": "8.2.2",
"codecov": "3.8.1",
"concurrently": "6.0.0",
"core-js": "3.8.0",
"cpx2": "3.0.0",
"eslint": "7.22.0",
"eslint-plugin-testcafe": "^0.2.1",
"http-server": "0.12.3",
"iso-language-codes": "1.0.7",
"jest": "26.6.3",
"jquery": "1.11.3",
"jquery-colorbox": "1.6.4",
"jquery-ui": "1.12.1",
"jquery-ui-touch-punch": "0.2.3",
"jquery.browser": "0.1.0",
"jquery.mmenu": "5.6.5",
"live-server": "1.2.1",
"node-fetch": "2.6.1",
"regenerator-runtime": "0.13.7",
"sass": "1.29.0",
"sinon": "9.2.4",
"svgo": "1.3.2",
"testcafe": "1.12.0",
"webpack": "5.9.0",
"webpack-cli": "4.2.0"
},
"jest": {
"setupFiles": [
"./env-setup.js"
],
"roots": [
"<rootDir>/src/",
"<rootDir>/tests/"
],
"testPathIgnorePatterns": [
"<rootDir>/tests/e2e/"
]
},
"scripts": {
"preversion": "npm run test && node scripts/preversion.js",
"version": "node scripts/version.js",
"postversion": "node scripts/postversion.js",
"build": "npm run build-js && npm run build-css && npm run build-assets",
"build-assets": "npx cpx \"src/assets/**/*\" BookReader && npx svgo -f BookReader/icons && npx svgo -f BookReader/images",
"build-assets:watch": "npx cpx --watch --verbose \"src/assets/**/*\" BookReader",
"build-js": "npx webpack && node scripts/copy-modules.js",
"build-js:watch": "npx webpack --mode=development --watch",
"build-css": "npx sass --no-source-map ./src/css/BookReader.scss ./BookReader/BookReader.css",
"build-css:watch": "npx sass --watch --no-source-map ./src/css/BookReader.scss ./BookReader/BookReader.css",
"lint": "npx eslint src/js tests",
"lint:fix": "npx eslint --fix src/js tests",
"serve": "npx http-server . --port 8000",
"serve-live": "npx live-server . --port 8000 --watch=index.html,BookReader,BookReaderDemo",
"serve-dev": "npx concurrently --kill-others npm:serve-live npm:build-*:watch",
"test": "npx jest",
"test:e2e": "env BASE_URL=http://127.0.0.1:8000/BookReaderDemo/ npx testcafe",
"test:e2e:dev": "env BASE_URL=http://127.0.0.1:8000/BookReaderDemo/ npx testcafe --live --dev",
"test:watch": "npx jest --watch",
"test:coverage": "npx jest --coverage --colors",
"codecov": "npx codecov"
}
}