forked from internetarchive/bookreader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 4.14 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
{
"name": "@internetarchive/bookreader",
"version": "5.0.0-14",
"description": "The Internet Archive BookReader.",
"repository": {
"type": "git",
"url": "git+https://github.com/internetarchive/bookreader.git"
},
"publishConfig": {
"access": "public"
},
"module": "src/BookNavigator/BookNavigator.js",
"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",
"private": false,
"dependencies": {
"@internetarchive/ia-activity-indicator": "^0.0.1",
"@internetarchive/ia-icons": "^1.2.2",
"@internetarchive/ia-menu-slider": "^1.1.0",
"@internetarchive/ia-sharing-options": "^0.1.2",
"@internetarchive/icon-bookmark": "^1.1.3",
"@internetarchive/icon-collapse-sidebar": "^1.1.0",
"@internetarchive/icon-edit-pencil": "1.1.5",
"@internetarchive/icon-magnify-minus": "^1.2.3",
"@internetarchive/icon-magnify-plus": "^1.2.3",
"@internetarchive/icon-search": "^1.2.3",
"@internetarchive/modal-manager": "^0.1.0",
"lit-element": "^2.4.0",
"lit-html": "^1.3.0"
},
"devDependencies": {
"@babel/core": "7.13.16",
"@babel/preset-env": "7.13.15",
"@open-wc/testing": "^2.5.33",
"@open-wc/testing-karma": "^4.0.9",
"@types/jest": "26.0.23",
"babel-loader": "8.2.2",
"codecov": "3.8.1",
"concurrently": "6.0.2",
"core-js": "3.11.0",
"cpx2": "3.0.0",
"eslint": "7.25.0",
"eslint-plugin-testcafe": "0.2.1",
"http-server": "0.12.3",
"iso-language-codes": "1.0.8",
"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",
"karma-coverage": "^2.0.3",
"live-server": "1.2.1",
"node-fetch": "2.6.1",
"regenerator-runtime": "0.13.7",
"sass": "1.32.11",
"sinon": "10.0.0",
"soundmanager2": "2.97.20170602",
"svgo": "2.3.0",
"testcafe": "1.14.0",
"webpack": "5.35.0",
"webpack-cli": "4.6.0"
},
"jest": {
"setupFiles": [
"./src/jquery-wrapper.js"
],
"roots": [
"<rootDir>/src/",
"<rootDir>/tests/"
],
"testPathIgnorePatterns": [
"<rootDir>/tests/e2e/",
"<rootDir>/tests/karma/"
],
"coverageDirectory": "<rootDir>/coverage-jest"
},
"scripts": {
"preversion": "npm run test && node scripts/preversion.js",
"version": "node scripts/version.js",
"postversion": "node scripts/postversion.js",
"build": "npm run clean && 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",
"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",
"clean": "rm -r BookReader/ || true",
"lint": "npx eslint src/ tests/ *.js",
"lint:fix": "npx eslint --fix src/ tests/ *.js",
"serve": "npx http-server . --port 8000",
"serve-live": "npx live-server . --port 8000 --watch=index.html,BookReader,BookReaderDemo",
"serve-dev": "npm run build-css && npx concurrently --kill-others npm:serve-live npm:build-*:watch",
"test": "npm run test-jest && npm run test-karma",
"test:e2e": "npm run build && 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-jest:watch": "npx jest --watch",
"test-jest": "npx jest --coverage --colors",
"test-karma": "npx karma start --coverage",
"test-karma:watch": "npx karma start --auto-watch=true --single-run=false",
"codecov": "npx codecov"
}
}