All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
105 lines
2.7 KiB
JSON
105 lines
2.7 KiB
JSON
{
|
|
"name": "react-aria-menubutton",
|
|
"version": "7.0.3",
|
|
"description": "A fully accessible and flexible React-powered menu button",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"lint": "eslint .",
|
|
"demo-bundle": "webpack --mode production --config ./webpack-demo.config.js",
|
|
"demo-watch": "webpack --mode development --config ./webpack-demo.config.js --watch",
|
|
"start": "npm run demo-watch & http-server demo",
|
|
"jest": "jest",
|
|
"test": "npm run lint && npm run jest",
|
|
"umd-unminified": "webpack --mode development --config ./webpack-umd.config.js",
|
|
"umd-minified": "webpack --mode production --config ./webpack-umd.config.js",
|
|
"umd": "npm run umd-unminified && npm run umd-minified",
|
|
"format": "prettier --single-quote --write src/**/*.js demo/js/*.js",
|
|
"build": "babel src -d dist --ignore src/__tests__",
|
|
"prepublishOnly": "npm run umd && npm run build"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.js": "eslint"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/davidtheclark/react-aria-menubutton.git"
|
|
},
|
|
"author": {
|
|
"name": "David Clark",
|
|
"email": "david.dave.clark@gmail.com",
|
|
"url": "http://davidtheclark.com"
|
|
},
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/davidtheclark/react-aria-menubutton/issues"
|
|
},
|
|
"homepage": "https://github.com/davidtheclark/react-aria-menubutton",
|
|
"keywords": [
|
|
"react",
|
|
"reactjs",
|
|
"react-component",
|
|
"aria",
|
|
"accessibility",
|
|
"menu",
|
|
"dropdown",
|
|
"widget"
|
|
],
|
|
"dependencies": {
|
|
"focus-group": "^0.3.1",
|
|
"prop-types": "^15.6.0",
|
|
"teeny-tap": "^0.2.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.3.0 || ^17.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.0",
|
|
"babel-eslint": "^8.0.3",
|
|
"babel-loader": "^7.1.2",
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
"babel-preset-env": "^1.6.1",
|
|
"babel-preset-react": "^6.24.1",
|
|
"enzyme": "^3.10.0",
|
|
"enzyme-adapter-react-16": "^1.15.1",
|
|
"enzyme-to-json": "^3.4.3",
|
|
"eslint": "^4.13.1",
|
|
"http-server": "^0.10.0",
|
|
"husky": "^2.7.0",
|
|
"jest": "^21.2.1",
|
|
"lint-staged": "^8.2.1",
|
|
"prettier": "^1.9.2",
|
|
"react": "^16.11.0",
|
|
"react-dom": "^16.11.0",
|
|
"react-test-renderer": "^16.11.0",
|
|
"webpack": "^4.15.1",
|
|
"webpack-cli": "^3.0.8"
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"react",
|
|
[
|
|
"env",
|
|
{
|
|
"loose": true
|
|
}
|
|
]
|
|
],
|
|
"plugins": [
|
|
"transform-class-properties"
|
|
]
|
|
},
|
|
"jest": {
|
|
"setupFiles": [
|
|
"./src/__tests__/helpers/jest-setup.js"
|
|
],
|
|
"testRegex": "/__tests__/.*\\.test.js$",
|
|
"clearMocks": true
|
|
}
|
|
}
|