| { |
| "name": "@annotator/annotator", |
| "private": true, |
| "description": "Apache Annotator provides annotation enabling code for browsers, servers, and humans.", |
| "homepage": "https://annotator.apache.org", |
| "repository": { |
| "type": "git", |
| "url": "https://github.com/apache/incubator-annotator.git" |
| }, |
| "license": "Apache-2.0", |
| "author": "Apache Software Foundation", |
| "workspaces": { |
| "packages": [ |
| "packages/*" |
| ] |
| }, |
| "scripts": { |
| "build": "yarn run build:cjs && yarn run build:esm && yarn run build:misc", |
| "build:babel": "lerna exec --parallel -- babel --root-mode upward", |
| "build:cjs": "cross-env BABEL_ENV=cjs yarn build:babel -d lib src", |
| "build:esm": "cross-env BABEL_ENV=esm yarn build:babel -d esm src", |
| "build:misc": "lerna exec -- cp ../../LICENSE ../../NOTICE .", |
| "clean": "lerna exec -- rimraf LICENSE NOTICE esm lib", |
| "lint": "eslint --fix --quiet .", |
| "prepare": "lerna run prepare", |
| "prepublishOnly": "yarn run build", |
| "start": "webpack-dev-server --hot --mode development", |
| "test": "cross-env BABEL_ENV=test nyc mocha packages/*/test/**/*.js", |
| "validate": "cross-env BABEL_ENV=test nyc mocha test/**/*.js" |
| }, |
| "husky": { |
| "hooks": { |
| "pre-commit": "lint-staged" |
| } |
| }, |
| "devDependencies": { |
| "@babel/cli": "^7.4.0", |
| "@babel/core": "^7.4.0", |
| "@babel/plugin-transform-runtime": "^7.4.0", |
| "@babel/preset-env": "^7.4.0", |
| "@babel/register": "^7.4.0", |
| "ajv": "^6.10.0", |
| "babel-eslint": "^10.0.1", |
| "babel-loader": "^8.0.5", |
| "babel-plugin-istanbul": "^5.1.1", |
| "babel-plugin-module-resolver": "^3.2.0", |
| "babel-plugin-preserve-comment-header": "^1.0.1", |
| "chai": "^4.2.0", |
| "core-js": "3", |
| "cross-env": "^5.2.0", |
| "dom-highlight-range": "^1.0.1", |
| "dom-node-iterator": "^3.5.3", |
| "dom-seek": "^4.0.3", |
| "eslint": "^5.16.0", |
| "eslint-config-prettier": "^4.1.0", |
| "eslint-import-resolver-babel-module": "^5.0.1", |
| "eslint-plugin-import": "^2.16.0", |
| "eslint-plugin-node": "^9.0.1", |
| "eslint-plugin-prettier": "^3.0.1", |
| "esm": "^3.2.22", |
| "husky": "^2.4.0", |
| "lerna": "^3.13.4", |
| "lint-staged": "^8.1.5", |
| "mocha": "^6.1.4", |
| "mocha-loader": "^2.0.1", |
| "multi-entry-loader": "^1.1.2", |
| "node-fetch": "^2.5.0", |
| "nyc": "^14.1.0", |
| "prettier": "^1.16.4", |
| "resolve": "^1.10.1", |
| "rimraf": "^2.6.3", |
| "web-annotation-tests": "https://github.com/w3c/web-annotation-tests", |
| "webpack": "^4.31.0", |
| "webpack-cli": "^3.3.0", |
| "webpack-dev-server": "^3.2.1" |
| }, |
| "engines": { |
| "node": ">=8.0.0", |
| "yarn": "^1.5.0" |
| } |
| } |