accessibilityjs/package.json

50 строки
1.4 KiB
JSON

{
"name": "accessibilityjs",
"version": "1.0.1",
"description": "Client side accessibility error scanner.",
"main": "dist/index-umd.js",
"module": "dist/index-esm.js",
"files": [
"dist"
],
"scripts": {
"prebuild": "npm run clean && mkdir dist",
"prepublishOnly": "npm run build",
"clean": "rm -rf dist",
"pretest": "eslint *.js && npm run build",
"test": "karma start ./test/karma.config.js",
"build": "npm run build-esm && npm run build-umd",
"build-esm": "BABEL_ENV=esm babel index.js -o dist/index-esm.js",
"build-umd": "BABEL_ENV=umd babel index.js -o dist/index-umd.js",
"preexample": "npm run pretest",
"example": "open \"file://$(pwd)/example.html\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/github/accessibilityjs.git"
},
"keywords": [
"accessibility",
"a11y"
],
"author": "GitHub, Inc.",
"license": "MIT",
"bugs": {
"url": "https://github.com/github/accessibilityjs/issues"
},
"homepage": "https://github.com/github/accessibilityjs#readme",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^8.0.1",
"babel-preset-es2015": "^6.24.1",
"chai": "^4.1.2",
"eslint": "^4.8.0",
"karma": "^1.7.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-firefox-launcher": "^1.0.1",
"karma-mocha": "^1.3.0",
"mocha": "^4.0.1"
}
}