blob: a415d00f98d7ceff67e2ad4d45f9814cc96650e9 [file] [log] [blame]
{
"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 mocha -r esm test/**/*.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"@babel/cli": "^7.6.2",
"@babel/core": "^7.6.2",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"@babel/register": "^7.6.2",
"ajv": "^6.10.2",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.5",
"babel-plugin-istanbul": "^5.2.0",
"babel-plugin-module-resolver": "^3.2.0",
"babel-plugin-preserve-comment-header": "^1.0.1",
"chai": "^4.2.0",
"core-js": "3.2.1",
"cross-env": "^6.0.0",
"eslint": "^6.4.0",
"eslint-config-prettier": "^6.3.0",
"eslint-import-resolver-babel-module": "^5.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettier": "^3.1.1",
"esm": "^3.2.22",
"husky": "^3.0.7",
"lerna": "^3.16.4",
"lint-staged": "^9.4.0",
"mocha": "^6.2.2",
"mocha-loader": "^3.0.0",
"multi-entry-loader": "^1.1.2",
"node-fetch": "^2.5.0",
"nyc": "^14.1.0",
"prettier": "^1.16.4",
"resolve": "^1.12.0",
"rimraf": "^3.0.0",
"web-annotation-tests": "https://github.com/w3c/web-annotation-tests",
"webpack": "^4.41.0",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "^3.8.1"
},
"engines": {
"node": ">=8.0.0",
"yarn": "^1.5.0"
}
}