package.json 2.03 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.28",
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.0.0",
    "@babel/runtime": "^7.1.5",
14
    "css-tree": "1.0.0-alpha.29",
Fred Chasen's avatar
Fred Chasen committed
15
    "event-emitter": "^0.3.5",
16
    "lodash": "^4.17.10"
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
    "@babel/cli": "^7.1.5",
    "@babel/core": "^7.1.6",
    "@babel/plugin-proposal-async-generator-functions": "^7.1.0",
    "@babel/plugin-transform-runtime": "^7.1.0",
    "@babel/preset-env": "^7.1.6",
Fred Chasen's avatar
Fred Chasen committed
24 25
    "babel-core": "^7.0.0-bridge.0",
    "babel-jest": "^23.6.0",
26
    "chalk": "^2.4.1",
Fred Chasen's avatar
Fred Chasen committed
27
    "eslint": "^5.9.0",
28
    "express": "^4.16.3",
Fred Chasen's avatar
Fred Chasen committed
29
    "ghostscript4js": "^3.0.0",
30
    "jest": "^23.4.1",
Julie Blanc's avatar
Julie Blanc committed
31
    "jest-image-snapshot": "^2.4.3",
Fred Chasen's avatar
Fred Chasen committed
32
    "puppeteer": "GoogleChrome/puppeteer",
33
    "rimraf": "^2.6.2",
34
    "rollup": "^0.63.2",
35
    "rollup-plugin-commonjs": "^9.1.3",
36
    "rollup-plugin-json": "^3.0.0",
Fred Chasen's avatar
Fred Chasen committed
37
    "rollup-plugin-livereload": "^0.6.0",
Fred Chasen's avatar
Fred Chasen committed
38
    "rollup-plugin-node-builtins": "^2.1.2",
39
    "rollup-plugin-node-resolve": "^3.3.0",
Fred Chasen's avatar
Fred Chasen committed
40 41 42 43
    "rollup-plugin-serve": "^0.4.2"
  },
  "scripts": {
    "build": "./node_modules/.bin/rollup -c",
Fred Chasen's avatar
Fred Chasen committed
44
    "legacy": "./node_modules/.bin/rollup -c rollup.legacy.config.js",
Fred Chasen's avatar
Fred Chasen committed
45
    "start": "./node_modules/.bin/rollup -w -c rollup.server.config.js",
Fred Chasen's avatar
Fred Chasen committed
46 47
    "test": "npm run tests && npm run specs",
    "tests": "jest --config=tests/jest.config.js",
Fred Chasen's avatar
Fred Chasen committed
48
    "specs": "jest --config=specs/jest.config.js",
Fred Chasen's avatar
Fred Chasen committed
49 50
    "compile": "./node_modules/.bin/babel src/ -d lib/",
    "pretest": "npm run build",
Fred Chasen's avatar
Fred Chasen committed
51
    "prepublishOnly": "npm run build && npm run compile && npm run legacy",
Fred Chasen's avatar
Fred Chasen committed
52 53
    "watch": "./node_modules/.bin/rollup -w -c",
    "lint": "./node_modules/.bin/eslint -c .eslintrc.js src; exit 0"
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"
  ]
}