UNPKG

rheostat

Version:

Rheostat is a www, mobile, and accessible slider component built with React

122 lines (121 loc) 4.5 kB
{ "name": "rheostat", "version": "4.1.1", "description": "Rheostat is a www, mobile, and accessible slider component built with React", "main": "lib/Slider", "jsnext:main": "src/Slider.jsx", "scripts": { "prebuild": "npm run clean", "build": "npm run build:js && npm run build:css", "build:js": "babel src -d lib", "prebuild:css": "rimraf lib/css && mkdirp lib/css", "build:css": "node scripts/buildCSS.js", "clean": "rimraf lib && rimraf css", "prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish", "lint": "eslint --ext .js,.jsx src test stories", "storybook": "start-storybook -p 9001 -c .storybook", "storybook:css": "npm run build:css && start-storybook -p 6006 -c .storybook-css", "pretest": "npm run build && npm run lint", "test": "nyc npm run test:all", "tests-only": "npm run test:all", "pretest:all": "npm run react", "test:all": "npm run test:node && npm run test:dom", "test:node": "npm run jest -- --testEnvironment=node", "test:dom": "WITH_DOM=1 npm run jest -- --testEnvironment=jsdom", "version:patch": "npm --no-git-tag-version version patch", "version:minor": "npm --no-git-tag-version version minor", "version:major": "npm --no-git-tag-version version major", "preversion": "npm run test && npm run check-changelog && npm run check-only-changelog-changed", "postversion": "git commit package.json CHANGELOG.md -m \"Version $npm_package_version\" && npm run tag && git push && git push --tags && npm publish --registry=https://registry.npmjs.org/", "check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)", "check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0", "tag": "git tag v$npm_package_version", "jest": "jest", "react": "enzyme-adapter-react-install 16" }, "repository": { "type": "git", "url": "git@github.com:airbnb/rheostat.git" }, "author": "Josh Perez <josh.perez@airbnb.com>", "license": "MIT", "devDependencies": { "@babel/cli": "^7.5.5", "@babel/core": "^7.5.5", "@babel/plugin-proposal-object-rest-spread": "^7.5.5", "@babel/register": "^7.5.5", "@babel/runtime": "^7.0.0", "@storybook/addon-actions": "^5.1.11", "@storybook/addon-links": "^5.1.11", "@storybook/addons": "^5.1.11", "@storybook/react": "^5.1.11", "airbnb-browser-shims": "^3.2.1", "aphrodite": "^2.4.0", "babel-eslint": "^10.0.3", "babel-jest": "^24.9.0", "babel-loader": "^8.0.6", "babel-preset-airbnb": "^4.0.1", "casual": "^1.6.2", "chai": "^4.2.0", "chai-enzyme": "^1.0.0-beta.1", "clean-css": "^4.2.1", "create-react-class": "^15.6.3", "enzyme": "^3.10.0", "enzyme-adapter-react-helper": "^1.3.5", "eslint": "^6.1.0", "eslint-config-airbnb": "^18.0.1", "eslint-plugin-import": "^2.18.2", "eslint-plugin-jest": "^22.17.0", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-react": "^7.14.3", "eslint-plugin-react-hooks": "^1.7.0", "eslint-plugin-react-with-styles": "^2.2.0", "has": "^1.0.3", "in-publish": "^2.0.0", "jest": "^24.9.0", "mkdirp": "^0.5.1", "nyc": "^11.9.0", "raw-loader": "^0.5.1", "react": "^16.8.6", "react-addons-pure-render-mixin": "^15.6.2", "react-dom": "^16.8.6", "react-with-styles-interface-aphrodite": "^6.0.0", "react-with-styles-interface-css-compiler": "^2.2.0", "rimraf": "~2.6.0", "safe-publish-latest": "^1.1.3", "sinon": "^5.1.1", "style-loader": "^1.0.0", "webpack": "^4.4.0" }, "peerDependencies": { "@babel/runtime": "^7.0.0", "react": ">=0.14" }, "dependencies": { "airbnb-prop-types": "^2.15.0", "object.assign": "^4.1.0", "prop-types": "^15.7.2", "react-with-direction": "^1.3.1", "react-with-styles": "^4.1.0", "react-with-styles-interface-css": "^6.0.0" }, "jest": { "testMatch": [ "<rootDir>/test/*-test.*" ], "setupFiles": [ "<rootDir>/test/_helpers/setupFiles.js" ], "setupFilesAfterEnv": [ "<rootDir>/test/_helpers/setupFilesAfterEnv.js" ] }, "greenkeeper": { "ignore": [ "jest", "babel-jest", "react", "react-dom" ] } }