forked from pagedjs/pagedjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.89 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
{
"name": "@newhippo/pagedjs",
"version": "0.4.5",
"description": "Chunks up a document into paged media flows and applies print styles",
"author": "Fred Chasen",
"license": "MIT",
"homepage": "https://pagedmedia.org",
"main": "src/index.js",
"browser": "dist/paged.js",
"type": "module",
"exports": {
"import": "./src/index.js",
"require": "./lib/index.cjs",
"browser": "./dist/paged.js",
"polyfill": "./dist/paged.polyfill.js",
"default": "./src/index.js"
},
"dependencies": {
"@babel/polyfill": "^7.10.1",
"@babel/runtime": "^7.21.0",
"clear-cut": "^2.0.2",
"css-tree": "^1.1.3",
"event-emitter": "^0.3.5"
},
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.4",
"@babel/plugin-proposal-async-generator-functions": "^7.20.7",
"@babel/plugin-transform-runtime": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-terser": "^0.4.1",
"babel-plugin-replace-import-extension": "^1.1.3",
"chalk": "^5.2.0",
"eslint": "^8.38.0",
"express": "^4.18.2",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-image-snapshot": "^6.1.0",
"playwright-core": "^1.32.3",
"rimraf": "^5.0.0",
"rollup": "^3.20.6",
"rollup-plugin-license": "^3.0.1",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-serve": "^2.0.2"
},
"scripts": {
"build": "rollup -c",
"start": "rollup -w -c rollup.server.config.js",
"test": "npm run lint && jest",
"specs": "npm run pretest && jest --config=specs/jest.config.js",
"compile": "babel src/ -d lib/ --out-file-extension .cjs",
"legacy": "babel dist/paged.js --out-file dist/paged.legacy.js && babel dist/paged.polyfill.js --out-file dist/paged.polyfill.legacy.js",
"pretest": "npm run build && npm run compile",
"prepublishOnly": "npm run build && npm run compile && npm run legacy",
"watch": "rollup -w -c",
"lint": "eslint -c .eslintrc.json src specs",
"docker-build": "docker build -t pagedmedia/pagedjs .",
"docker-test": "docker build -t pagedmedia/pagedjs . && docker run -it --rm --ipc=host --user pwuser --security-opt 'seccomp=seccomp.json' -v $(pwd)/specs:/home/pwuser/pagedjs/specs pagedmedia/pagedjs npm test",
"docker-specs": "docker build -t pagedmedia/pagedjs . && docker run -it --rm --ipc=host -v $(pwd)/specs:/home/pwuser/pagedjs/specs pagedmedia/pagedjs npm run specs",
"docker-update-specs": "docker build -t pagedmedia/pagedjs . && docker run -it --rm --ipc=host -v $(pwd)/specs:/home/pwuser/pagedjs/specs pagedmedia/pagedjs npm run specs -- -u"
},
"repository": {
"type": "git",
"url": "https://gitlab.coko.foundation/pagedjs/pagedjs.git"
},
"files": [
"dist",
"lib",
"src"
]
}