| { |
| "name": "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 .", |
| "prepare": "lerna run prepare", |
| "prepublishOnly": "yarn run build", |
| "start": "yarn run web:server", |
| "test": "cross-env BABEL_ENV=test nyc mocha packages/*/test/**/*.js", |
| "validate": "cross-env BABEL_ENV=test mocha test/**/*.js", |
| "web:build": "webpack --config=web/webpack.config.js --mode development", |
| "web:server": "webpack-dev-server --config=web/webpack.config.js --hot --mode development" |
| }, |
| "devDependencies": { |
| "@babel/cli": "^7.8.4", |
| "@babel/core": "^7.8.7", |
| "@babel/plugin-transform-runtime": "^7.8.3", |
| "@babel/preset-env": "^7.8.7", |
| "@babel/register": "^7.8.6", |
| "ajv": "^6.11.0", |
| "babel-eslint": "^10.0.3", |
| "babel-loader": "^8.0.5", |
| "babel-plugin-istanbul": "^6.0.0", |
| "babel-plugin-module-resolver": "^4.0.0", |
| "babel-plugin-preserve-comment-header": "^1.0.1", |
| "chai": "^4.2.0", |
| "core-js": "^3.6.4", |
| "cross-env": "^6.0.3", |
| "eslint": "^6.8.0", |
| "eslint-config-prettier": "^6.9.0", |
| "eslint-import-resolver-babel-module": "^5.1.2", |
| "eslint-plugin-import": "^2.20.0", |
| "eslint-plugin-node": "^11.0.0", |
| "eslint-plugin-prettier": "^3.1.2", |
| "file-loader": "^6.0.0", |
| "husky": "^4.2.1", |
| "lerna": "^3.20.2", |
| "lint-staged": "^10.0.2", |
| "mocha": "^7.0.0", |
| "mocha-loader": "^4.0.1", |
| "multi-entry-loader": "^1.1.2", |
| "node-fetch": "^2.5.0", |
| "nyc": "^15.0.0", |
| "prettier": "^1.19.1", |
| "resolve": "^1.15.0", |
| "rimraf": "^3.0.0", |
| "web-annotation-tests": "https://github.com/w3c/web-annotation-tests", |
| "webpack": "^4.41.5", |
| "webpack-cli": "^3.3.10", |
| "webpack-dev-server": "^3.10.1" |
| }, |
| "engines": { |
| "node": ">=10.0.0", |
| "yarn": "^1.5.0" |
| } |
| } |