forked from internetarchive/bookreader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 2.38 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
{
"name": "bookreader",
"version": "4.13.1",
"description": "The Internet Archive BookReader.",
"repository": {
"type": "git",
"url": "git+https://github.com/internetarchive/bookreader.git"
},
"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": {
"jquery": "3.4.1"
},
"private": true,
"devDependencies": {
"@babel/core": "7.6.0",
"@babel/preset-env": "7.6.0",
"@types/jest": "26.0.3",
"babel-loader": "8.0.6",
"codecov": "3.7.0",
"concurrently": "5.1.0",
"core-js": "3.6.5",
"eslint": "5.16.0",
"eslint-plugin-testcafe": "^0.2.1",
"http-server": "0.12.1",
"iso-language-codes": "1.0.7",
"jest": "25.1.0",
"live-server": "1.2.1",
"node-fetch": "2.6.0",
"regenerator-runtime": "0.13.5",
"sass": "1.22.12",
"sinon": "9.0.2",
"testcafe": "1.8.6",
"webpack": "4.43.0",
"webpack-cli": "3.3.9"
},
"jest": {
"setupFiles": [
"./env-setup.js"
],
"testPathIgnorePatterns": [
"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",
"build-js": "npx webpack",
"build-js:watch": "npx webpack --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": "eslint src/js tests",
"lint:fix": "eslint --fix src/js tests",
"serve": "npx http-server . --port 8000",
"serve-live": "npx live-server . --port 8000 --ignore=coverage,tests,src",
"serve-dev": "npx concurrently --kill-others npm:serve-live npm:build-js:watch npm:build-css:watch",
"test": "jest",
"test:e2e": "env BASE_URL=http://127.0.0.1:8000/BookReaderDemo/ testcafe",
"test:e2e:dev": "env BASE_URL=http://127.0.0.1:8000/BookReaderDemo/ testcafe --live --dev",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage --colors",
"codecov": "codecov"
}
}