package.json 2.15 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.34",
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.4.4",
    "@babel/runtime": "^7.4.4",
14
    "css-tree": "1.0.0-alpha.29",
Fred Chasen's avatar
Fred Chasen committed
15
    "event-emitter": "^0.3.5",
Erik Schilling's avatar
Erik Schilling committed
16
    "lodash": "^4.17.15"
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
    "@babel/cli": "^7.4.4",
    "@babel/core": "^7.4.4",
Fred Chasen's avatar
Fred Chasen committed
21
    "@babel/plugin-proposal-async-generator-functions": "^7.2.0",
Fred Chasen's avatar
Fred Chasen committed
22 23
    "@babel/plugin-transform-runtime": "^7.4.4",
    "@babel/preset-env": "^7.4.4",
Fred Chasen's avatar
Fred Chasen committed
24
    "babel-core": "^7.0.0-bridge.0",
Fred Chasen's avatar
Fred Chasen committed
25 26 27
    "babel-jest": "^24.7.1",
    "chalk": "^2.4.2",
    "eslint": "^5.16.0",
Fred Chasen's avatar
Fred Chasen committed
28
    "express": "^4.16.4",
Fred Chasen's avatar
Fred Chasen committed
29 30 31 32 33 34 35
    "jest": "^24.7.1",
    "jest-image-snapshot": "^2.8.1",
    "puppeteer": "^1.15.0",
    "rimraf": "^2.6.3",
    "rollup": "^1.10.1",
    "rollup-plugin-commonjs": "^9.3.4",
    "rollup-plugin-json": "^4.0.0",
Erik Schilling's avatar
Erik Schilling committed
36
    "rollup-plugin-livereload": "^1.0.1",
Fred Chasen's avatar
Fred Chasen committed
37
    "rollup-plugin-node-builtins": "^2.1.2",
Fred Chasen's avatar
Fred Chasen committed
38 39
    "rollup-plugin-node-resolve": "^4.2.3",
    "rollup-plugin-serve": "^1.0.1"
Fred Chasen's avatar
Fred Chasen committed
40 41 42
  },
  "scripts": {
    "build": "./node_modules/.bin/rollup -c",
Fred Chasen's avatar
Fred Chasen committed
43
    "legacy": "./node_modules/.bin/rollup -c rollup.legacy.config.js",
Fred Chasen's avatar
Fred Chasen committed
44
    "start": "./node_modules/.bin/rollup -w -c rollup.server.config.js",
Fred Chasen's avatar
Fred Chasen committed
45 46
    "test": "npm run tests && npm run specs",
    "tests": "jest --config=tests/jest.config.js",
Fred Chasen's avatar
Fred Chasen committed
47
    "specs": "jest --config=specs/jest.config.js",
Fred Chasen's avatar
Fred Chasen committed
48 49
    "compile": "./node_modules/.bin/babel src/ -d lib/",
    "pretest": "npm run build",
Fred Chasen's avatar
Fred Chasen committed
50
    "prepublishOnly": "npm run build && npm run compile && npm run legacy",
Fred Chasen's avatar
Fred Chasen committed
51
    "watch": "./node_modules/.bin/rollup -w -c",
Fred Chasen's avatar
Fred Chasen committed
52 53
    "lint": "./node_modules/.bin/eslint -c .eslintrc.js src; exit 0",
    "docker": "docker build 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
54 55 56 57 58 59 60 61 62 63
  },
  "repository": {
    "type": "git",
    "url": "https://gitlab.pagedmedia.org/polyfills/pagedjs.git"
  },
  "files": [
    "dist",
    "lib"
  ]
}