Re-enable strict CJS interop
[incubator-annotator.git] / package.json
1 {
2   "name": "@annotator/annotator",
3   "private": true,
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",
8   "repository": {
9     "type": "git",
10     "url": "https://gitbox.apache.org/repos/asf/incubator-annotator.git"
11   },
12   "scripts": {
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"
23   },
24   "devDependencies": {
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",
37     "chai": "^4.1.2",
38     "cross-env": "^5.1.4",
39     "dom-highlight-range": "^1.0.1",
40     "eslint": "^4.19.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",
46     "esm": "^3.0.49",
47     "husky": "^0.14.0",
48     "lerna": "^2.9.0",
49     "lint-staged": "^7.0.0",
50     "mocha": "^5.0.5",
51     "mocha-loader": "^1.1.3",
52     "multi-entry-loader": "^1.1.2",
53     "nyc": "^11.6.0",
54     "prettier": "^1.11.1",
55     "rimraf": "^2.6.2",
56     "webpack": "^4.2.0",
57     "webpack-serve": "^0.2.0"
58   },
59   "engines": {
60     "node": ">=6.0.0",
61     "yarn": "^1.5.0"
62   },
63   "workspaces": {
64     "packages": [
65       "packages/*"
66     ]
67   }
68 }