2 "name": "@annotator/annotator",
4 "description": "Apache Annotator provides annotation enabling code for browsers, servers, and humans.",
5 "homepage": "https://annotator.apache.org",
6 "license": "Apache-2.0",
7 "author": "Apache Software Foundation",
10 "url": "https://gitbox.apache.org/repos/asf/incubator-annotator.git"
13 "build": "yarn build:cjs && yarn build:esm",
14 "build:cjs": "cross-env BABEL_ENV=cjs yarn build:run",
15 "build:esm": "cross-env BABEL_ENV=esm yarn build:run --keep-file-extension",
16 "build:run": "lerna exec --parallel -- babel -d lib src --config-file ../../babel.config.js",
17 "clean": "lerna exec -- rimraf lib",
18 "precommit": "lint-staged",
19 "lint": "eslint . --ext js,mjs --fix --quiet",
20 "prepare": "lerna run prepare",
21 "start": "webpack-serve",
22 "test": "cross-env BABEL_ENV=test nyc mocha -r esm"
25 "@babel/cli": "^7.0.0-beta.42",
26 "@babel/core": "^7.0.0-beta.42",
27 "@babel/plugin-transform-runtime": "^7.0.0-beta.42",
28 "@babel/polyfill": "^7.0.0-beta.42",
29 "@babel/preset-env": "^7.0.0-beta.42",
30 "@babel/register": "^7.0.0-beta.42",
31 "@babel/runtime": "^7.0.0-beta.42",
32 "babel-eslint": "^8.2.2",
33 "babel-loader": "^8.0.0-beta.2",
34 "babel-plugin-istanbul": "^4.1.5",
35 "babel-plugin-module-resolver": "^3.1.1",
36 "babel-plugin-preserve-comment-header": "^1.0.1",
38 "cross-env": "^5.1.4",
39 "dom-highlight-range": "^1.0.1",
41 "eslint-config-prettier": "^2.9.0",
42 "eslint-import-resolver-babel-module": "^5.0.0-beta.0",
43 "eslint-plugin-import": "^2.9.0",
44 "eslint-plugin-node": "^6.0.1",
45 "eslint-plugin-prettier": "^2.6.0",
49 "lint-staged": "^7.0.0",
51 "mocha-loader": "^1.1.3",
52 "multi-entry-loader": "^1.1.2",
54 "prettier": "^1.11.1",
57 "webpack-serve": "^0.2.0"