You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
3.2 KiB
92 lines
3.2 KiB
{ |
|
"name": "dom-accessibility-api", |
|
"description": "Implements https://w3c.github.io/accname/", |
|
"version": "0.5.14", |
|
"main": "dist/index.js", |
|
"module": "dist/index.mjs", |
|
"type": "commonjs", |
|
"exports": { |
|
"import": "./dist/index.mjs", |
|
"require": "./dist/index.js" |
|
}, |
|
"license": "MIT", |
|
"repository": { |
|
"type": "git", |
|
"url": "https://github.com/eps1lon/dom-accessibility-api.git" |
|
}, |
|
"files": [ |
|
".browserslistrc", |
|
"dist/" |
|
], |
|
"scripts": { |
|
"build": "yarn build:clean && yarn build:source && yarn build:source:cjs && yarn build:types", |
|
"build:clean": "rimraf dist", |
|
"build:source": "cross-env BABEL_ENV=esm babel sources --extensions \".ts\" --ignore \"**/__tests__/**/*\" --out-dir dist/ --out-file-extension=.mjs --source-maps", |
|
"build:source:cjs": "cross-env BABEL_ENV=cjs babel sources --extensions \".ts\" --ignore \"**/__tests__/**/*\" --out-dir dist/ --out-file-extension=.js --source-maps", |
|
"build:types": "tsc -p tsconfig.json --emitDeclarationOnly", |
|
"format": "prettier \"**/*.{json,js,md,ts,yml}\" --write --ignore-path .prettierignore", |
|
"lint": "eslint --report-unused-disable-directives \"{scripts,sources}/**/*.{js,ts}\"", |
|
"release": "yarn build && yarn changeset publish", |
|
"test": "jest --config scripts/jest/jest.config.js", |
|
"test:ci": "jest --ci --config scripts/jest/jest.ci.config.js --runInBand", |
|
"test:coverage": "jest --config scripts/jest/jest.coverage.config.js", |
|
"test:types": "tsc -p tsconfig.json --noEmit", |
|
"test:wpt:jsdom": "mocha tests/wpt-jsdom/run-wpts.js", |
|
"test:wpt:browser": "concurrently --success first --kill-others \"yarn test:wpt:browser:run\" \"yarn test:wpt:browser:server\"", |
|
"test:wpt:browser:run": "cypress run --project tests", |
|
"test:wpt:browser:server": "serve tests/wpt", |
|
"test:wpt:browser:open": "cypress open --project tests", |
|
"wpt:init": "git submodule update --init --recursive", |
|
"wpt:reset": "rimraf ./tests/wpt && yarn wpt:init", |
|
"wpt:update": "git submodule update --recursive --remote && cd tests/wpt && python wpt.py manifest --path ../wpt-jsdom/wpt-manifest.json" |
|
}, |
|
"devDependencies": { |
|
"@babel/cli": "^7.14.3", |
|
"@babel/core": "^7.14.3", |
|
"@babel/plugin-proposal-class-properties": "^7.13.0", |
|
"@babel/preset-env": "^7.14.4", |
|
"@babel/preset-typescript": "^7.13.0", |
|
"@changesets/changelog-github": "^0.4.0", |
|
"@changesets/cli": "^2.16.0", |
|
"@testing-library/dom": "^8.0.0", |
|
"@types/jest": "^27.0.0", |
|
"@typescript-eslint/eslint-plugin": "^5.0.0", |
|
"@typescript-eslint/parser": "^5.0.0", |
|
"concurrently": "^7.0.0", |
|
"cross-env": "^7.0.3", |
|
"cypress": "^9.0.0", |
|
"eslint": "^7.27.0", |
|
"eslint-plugin-jest": "^26.0.0", |
|
"jest": "^27.0.3", |
|
"jest-diff": "^27.0.2", |
|
"jest-environment-jsdom": "^27.0.3", |
|
"jest-junit": "^13.0.0", |
|
"js-yaml": "^4.1.0", |
|
"jsdom": "^19.0.0", |
|
"minimatch": "^5.0.0", |
|
"mocha": "^9.0.0", |
|
"mocha-sugar-free": "^1.4.0", |
|
"prettier": "^2.3.0", |
|
"q": "^1.5.1", |
|
"request": "^2.88", |
|
"request-promise-native": "^1.0.9", |
|
"rimraf": "^3.0.2", |
|
"serve": "^12.0.0", |
|
"typescript": "^4.3.2" |
|
}, |
|
"resolutions": { |
|
"**/kind-of": "^6.0.3", |
|
"**/minimist": "^1.2.2" |
|
}, |
|
"prettier": { |
|
"useTabs": true |
|
}, |
|
"keywords": [ |
|
"accessibility", |
|
"ARIA", |
|
"accname" |
|
], |
|
"publishConfig": { |
|
"access": "public" |
|
} |
|
}
|
|
|