blob: 85dfe585e849f8cc60ab5cba29d175ef7449cd71 [file] [log] [blame]
{
"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:*",
"build:js": "lerna exec --parallel -- babel -d lib -s -x .ts --env-name production --root-mode upward src",
"build:misc": "lerna exec --parallel -- cp ../../DISCLAIMER-WIP ../../LICENSE ../../NOTICE ../../README.md .",
"build:types": "tsc --build",
"clean": "tsc --build --clean && lerna exec -- rimraf DISCLAIMER-WIP LICENSE NOTICE README.md lib && rimraf .nyc_output coverage docs web/dist *.tsbuildinfo",
"docs": "tsc --build && typedoc",
"lint": "eslint .",
"prepublishOnly": "yarn run build",
"publish": "lerna publish",
"publish:ci": "yarn run publish --canary --exact --force-publish '*' --no-verify-access --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.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",
"@babel/register": "^7.13.14",
"@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.20.0",
"@typescript-eslint/parser": "^4.20.0",
"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": "^8.0.0",
"husky": "^4.2.1",
"jsdom": "^16.2.2",
"lerna": "^3.20.2",
"lint-staged": "^10.0.2",
"mocha": "^8.0.1",
"node-fetch": "^2.5.0",
"nyc": "^15.0.0",
"prettier": "^2.0.5",
"resolve": "^1.15.0",
"rimraf": "^3.0.0",
"typedoc": "^0.20.5",
"typescript": "^4.2.3",
"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": "^12.20 || ^14.15 || ^15.4 || ^16.0",
"yarn": "^1.5.0"
}
}