| { |
| "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/*" |
| ], |
| "scripts": { |
| "build": "concurrently npm:build:*", |
| "build:js": "lerna exec --parallel -- babel -d lib -s -x .ts --env-name production --root-mode upward src", |
| "build:misc": "lerna exec --parallel -- shx cp ../../DISCLAIMER-WIP ../../LICENSE ../../NOTICE ../../README.md .", |
| "build:types": "tsc --build", |
| "clean": "tsc --build --clean && lerna exec -- shx rm -rf DISCLAIMER-WIP LICENSE NOTICE README.md coverage docs lib web/dist", |
| "docs": "tsc --build && typedoc", |
| "lint": "eslint .", |
| "prepare": "is-ci || shx test -d .git || exit 0 && husky install", |
| "prepublishOnly": "npm run build", |
| "publish": "lerna publish", |
| "publish:ci": "npm run publish --canary --exact --force-publish '*' --no-verify-access --yes minor", |
| "start": "npm run web:server", |
| "test": "cross-env BABEL_ENV=test c8 -a -r html -r text mocha packages/**/*.test.ts", |
| "test:watch": "cross-env BABEL_ENV=test mocha -p -w packages/**/*.test.ts", |
| "validate": "cross-env BABEL_ENV=test mocha test/**/*.test.ts", |
| "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.13.14", |
| "@babel/core": "^7.13.14", |
| "@babel/plugin-proposal-class-properties": "^7.13.0", |
| "@babel/plugin-transform-runtime": "^7.13.10", |
| "@babel/preset-env": "^7.13.12", |
| "@babel/preset-typescript": "^7.13.0", |
| "@types/mocha": "^10.0.2", |
| "@types/node-fetch": "^2.6.6", |
| "@types/resolve": "^1.20.3", |
| "@typescript-eslint/eslint-plugin": "^6.7.3", |
| "@typescript-eslint/parser": "^6.7.3", |
| "ajv": "^8.12.0", |
| "babel-loader": "^9.1.3", |
| "babel-plugin-istanbul": "^6.1.1", |
| "babel-plugin-module-resolver": "^5.0.0", |
| "babel-plugin-preserve-comment-header": "^1.0.1", |
| "babel-register-esm": "^1.2.5", |
| "c8": "^8.0.1", |
| "concurrently": "^8.2.1", |
| "cross-env": "^7.0.3", |
| "eslint": "^8.50.0", |
| "eslint-config-prettier": "^9.0.0", |
| "eslint-import-resolver-babel-module": "^5.3.2", |
| "eslint-plugin-import": "^2.28.1", |
| "eslint-plugin-node": "^11.1.0", |
| "eslint-plugin-prettier": "^5.0.0", |
| "file-loader": "^6.2.0", |
| "global-jsdom": "^9.1.0", |
| "husky": "^8.0.3", |
| "is-ci": "^3.0.1", |
| "jsdom": "^22.1.0", |
| "lerna": "^7.3.0", |
| "lint-staged": "^14.0.1", |
| "mocha": "^10.2.0", |
| "node-fetch": "^3.3.2", |
| "prettier": "^3.0.3", |
| "resolve": "^1.22.6", |
| "shx": "^0.3.4", |
| "typedoc": "^0.25.1", |
| "typescript": "^5.2.2", |
| "web-annotation-tests": "https://github.com/w3c/web-annotation-tests", |
| "webpack": "^5.88.2", |
| "webpack-cli": "^5.1.4", |
| "webpack-dev-server": "^4.15.1" |
| }, |
| "engines": { |
| "node": ">=18" |
| } |
| } |