package.json 2 KB
Newer Older
Fred Chasen's avatar
Fred Chasen committed
1 2
{
  "name": "pagedjs",
Fred Chasen's avatar
Fred Chasen committed
3
  "version": "0.1.41",
Fred Chasen's avatar
Fred Chasen committed
4 5 6 7
  "description": "Chunks up a document into paged media flows and applies print styles",
  "author": "Fred Chasen",
  "license": "MIT",
  "homepage": "https://pagedmedia.org",
8
  "main": "lib/index.js",
Fred Chasen's avatar
Fred Chasen committed
9 10
  "module": "src/index.js",
  "browser": "dist/paged.js",
Fred Chasen's avatar
Fred Chasen committed
11
  "dependencies": {
Fred Chasen's avatar
Fred Chasen committed
12 13
    "@babel/polyfill": "^7.10.1",
    "@babel/runtime": "^7.10.2",
14
    "clear-cut": "^2.0.2",
15
    "css-tree": "1.0.0-alpha.39",
Fred Chasen's avatar
Fred Chasen committed
16
    "event-emitter": "^0.3.5"
Fred Chasen's avatar
Fred Chasen committed
17
  },
Fred Chasen's avatar
Fred Chasen committed
18
  "devDependencies": {
Fred Chasen's avatar
Fred Chasen committed
19 20 21 22 23 24 25
    "@babel/cli": "^7.10.1",
    "@babel/core": "^7.10.2",
    "@babel/plugin-proposal-async-generator-functions": "^7.10.1",
    "@babel/plugin-transform-runtime": "^7.10.1",
    "@babel/preset-env": "^7.10.2",
    "chalk": "^4.0.0",
    "eslint": "^7.1.0",
26
    "express": "^4.17.1",
27
    "ghostscript4js": "^3.2.1",
Fred Chasen's avatar
Fred Chasen committed
28 29
    "jest": "^25.2.3",
    "jest-image-snapshot": "^3.0.1",
Fred Chasen's avatar
Fred Chasen committed
30
    "puppeteer": "^3.3.0",
31
    "rimraf": "^3.0.2",
Fred Chasen's avatar
Fred Chasen committed
32
    "rollup": "^2.13.1",
33
    "rollup-plugin-commonjs": "^10.1.0",
Fred Chasen's avatar
Fred Chasen committed
34
    "rollup-plugin-json": "^4.0.0",
Fred Chasen's avatar
Fred Chasen committed
35
    "rollup-plugin-livereload": "^1.3.0",
Fred Chasen's avatar
Fred Chasen committed
36
    "rollup-plugin-node-builtins": "^2.1.2",
37
    "rollup-plugin-node-resolve": "^5.2.0",
Fred Chasen's avatar
Fred Chasen committed
38
    "rollup-plugin-serve": "^1.0.1"
Fred Chasen's avatar
Fred Chasen committed
39 40
  },
  "scripts": {
41 42 43
    "build": "rollup -c",
    "legacy": "rollup -c rollup.legacy.config.js",
    "start": "rollup -w -c rollup.server.config.js",
Guillaume's avatar
Guillaume committed
44
    "test": "npm run lint && npm run tests && npm run specs",
45 46 47
    "tests": "jest",
    "specs": "jest --config=specs/jest.config.js",
    "compile": "babel src/ -d lib/",
Fred Chasen's avatar
Fred Chasen committed
48
    "pretest": "npm run build",
Fred Chasen's avatar
Fred Chasen committed
49
    "prepublishOnly": "npm run build && npm run compile && npm run legacy",
50
    "watch": "rollup -w -c",
Guillaume's avatar
Guillaume committed
51
    "lint": "eslint -c .eslintrc.js src specs",
52
    "docker": "docker build -t pagedmedia/pagedjs . && docker run -it --security-opt 'seccomp=seccomp.json' -v $(pwd)/specs:/home/node/pagedjs/specs pagedmedia/pagedjs npm test"
Fred Chasen's avatar
Fred Chasen committed
53 54 55 56 57 58 59 60
  },
  "repository": {
    "type": "git",
    "url": "https://gitlab.pagedmedia.org/polyfills/pagedjs.git"
  },
  "files": [
    "dist",
    "lib"
61
  ]
Fred Chasen's avatar
Fred Chasen committed
62
}