| { |
| "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": "concurrently yarn:build:lib:* yarn:build:misc", |
| "build:lib": "lerna exec --parallel -- babel -d lib -s inline -x .ts --root-mode upward src", |
| "build:lib:cjs": "cross-env BABEL_ENV=cjs yarn build:lib", |
| "build:lib:esm": "cross-env BABEL_ENV=esm yarn build:lib --out-file-extension .mjs", |
| "build:lib:types": "tsc --build", |
| "build:misc": "lerna exec --parallel -- cp ../../DISCLAIMER-WIP ../../LICENSE ../../NOTICE ../../README.md .", |
| "clean": "tsc --build --clean && lerna exec -- rimraf DISCLAIMER-WIP LICENSE NOTICE README.md lib", |
| "lint": "tsc --build && eslint .", |
| "prepare": "yarn run build:lib:types && lerna run prepare", |
| "prepublishOnly": "yarn run build", |
| "publish": "lerna publish", |
| "publish:ci": "yarn run publish --canary --exact --force-publish '*' --yes minor", |
| "start": "yarn run web:server", |
| "test": "cross-env BABEL_ENV=test nyc mocha 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.12.10", |
| "@babel/core": "^7.12.10", |
| "@babel/plugin-proposal-class-properties": "^7.12.1", |
| "@babel/plugin-transform-runtime": "^7.12.10", |
| "@babel/preset-env": "^7.12.11", |
| "@babel/preset-typescript": "^7.12.7", |
| "@babel/register": "^7.12.10", |
| "@types/chai": "^4.2.11", |
| "@types/mocha": "^7.0.2", |
| "@types/node-fetch": "^2.5.7", |
| "@types/resolve": "^1.17.0", |
| "@typescript-eslint/eslint-plugin": "^4.1.1", |
| "@typescript-eslint/parser": "^4.1.1", |
| "ajv": "^6.11.0", |
| "babel-loader": "^8.0.5", |
| "babel-plugin-add-import-extension": "^1.4.1", |
| "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", |
| "concurrently": "^5.3.0", |
| "cross-env": "^6.0.3", |
| "eslint": "^7.5.0", |
| "eslint-config-prettier": "^6.11.0", |
| "eslint-import-resolver-babel-module": "^5.1.2", |
| "eslint-plugin-import": "^2.22.0", |
| "eslint-plugin-node": "^11.1.0", |
| "eslint-plugin-prettier": "^3.1.4", |
| "file-loader": "^6.0.0", |
| "global-jsdom": "^6.1.0", |
| "husky": "^4.2.1", |
| "jsdom": "^16.2.2", |
| "lerna": "^3.20.2", |
| "lint-staged": "^10.0.2", |
| "mocha": "^8.0.1", |
| "mocha-loader": "^5.1.1", |
| "multi-entry-loader": "^1.1.2", |
| "node-fetch": "^2.5.0", |
| "nyc": "^15.0.0", |
| "prettier": "^2.0.5", |
| "resolve": "^1.15.0", |
| "rimraf": "^3.0.0", |
| "typescript": "^3.9.7", |
| "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 || ^11 || ^12 || >=13.7", |
| "yarn": "^1.5.0" |
| } |
| } |