UNPKG

4.5 kBJSONView Raw
1{
2 "name": "rheostat",
3 "version": "4.1.1",
4 "description": "Rheostat is a www, mobile, and accessible slider component built with React",
5 "main": "lib/Slider",
6 "jsnext:main": "src/Slider.jsx",
7 "scripts": {
8 "prebuild": "npm run clean",
9 "build": "npm run build:js && npm run build:css",
10 "build:js": "babel src -d lib",
11 "prebuild:css": "rimraf lib/css && mkdirp lib/css",
12 "build:css": "node scripts/buildCSS.js",
13 "clean": "rimraf lib && rimraf css",
14 "prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish",
15 "lint": "eslint --ext .js,.jsx src test stories",
16 "storybook": "start-storybook -p 9001 -c .storybook",
17 "storybook:css": "npm run build:css && start-storybook -p 6006 -c .storybook-css",
18 "pretest": "npm run build && npm run lint",
19 "test": "nyc npm run test:all",
20 "tests-only": "npm run test:all",
21 "pretest:all": "npm run react",
22 "test:all": "npm run test:node && npm run test:dom",
23 "test:node": "npm run jest -- --testEnvironment=node",
24 "test:dom": "WITH_DOM=1 npm run jest -- --testEnvironment=jsdom",
25 "version:patch": "npm --no-git-tag-version version patch",
26 "version:minor": "npm --no-git-tag-version version minor",
27 "version:major": "npm --no-git-tag-version version major",
28 "preversion": "npm run test && npm run check-changelog && npm run check-only-changelog-changed",
29 "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/",
30 "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)",
31 "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",
32 "tag": "git tag v$npm_package_version",
33 "jest": "jest",
34 "react": "enzyme-adapter-react-install 16"
35 },
36 "repository": {
37 "type": "git",
38 "url": "git@github.com:airbnb/rheostat.git"
39 },
40 "author": "Josh Perez <josh.perez@airbnb.com>",
41 "license": "MIT",
42 "devDependencies": {
43 "@babel/cli": "^7.5.5",
44 "@babel/core": "^7.5.5",
45 "@babel/plugin-proposal-object-rest-spread": "^7.5.5",
46 "@babel/register": "^7.5.5",
47 "@babel/runtime": "^7.0.0",
48 "@storybook/addon-actions": "^5.1.11",
49 "@storybook/addon-links": "^5.1.11",
50 "@storybook/addons": "^5.1.11",
51 "@storybook/react": "^5.1.11",
52 "airbnb-browser-shims": "^3.2.1",
53 "aphrodite": "^2.4.0",
54 "babel-eslint": "^10.0.3",
55 "babel-jest": "^24.9.0",
56 "babel-loader": "^8.0.6",
57 "babel-preset-airbnb": "^4.0.1",
58 "casual": "^1.6.2",
59 "chai": "^4.2.0",
60 "chai-enzyme": "^1.0.0-beta.1",
61 "clean-css": "^4.2.1",
62 "create-react-class": "^15.6.3",
63 "enzyme": "^3.10.0",
64 "enzyme-adapter-react-helper": "^1.3.5",
65 "eslint": "^6.1.0",
66 "eslint-config-airbnb": "^18.0.1",
67 "eslint-plugin-import": "^2.18.2",
68 "eslint-plugin-jest": "^22.17.0",
69 "eslint-plugin-jsx-a11y": "^6.2.3",
70 "eslint-plugin-react": "^7.14.3",
71 "eslint-plugin-react-hooks": "^1.7.0",
72 "eslint-plugin-react-with-styles": "^2.2.0",
73 "has": "^1.0.3",
74 "in-publish": "^2.0.0",
75 "jest": "^24.9.0",
76 "mkdirp": "^0.5.1",
77 "nyc": "^11.9.0",
78 "raw-loader": "^0.5.1",
79 "react": "^16.8.6",
80 "react-addons-pure-render-mixin": "^15.6.2",
81 "react-dom": "^16.8.6",
82 "react-with-styles-interface-aphrodite": "^6.0.0",
83 "react-with-styles-interface-css-compiler": "^2.2.0",
84 "rimraf": "~2.6.0",
85 "safe-publish-latest": "^1.1.3",
86 "sinon": "^5.1.1",
87 "style-loader": "^1.0.0",
88 "webpack": "^4.4.0"
89 },
90 "peerDependencies": {
91 "@babel/runtime": "^7.0.0",
92 "react": ">=0.14"
93 },
94 "dependencies": {
95 "airbnb-prop-types": "^2.15.0",
96 "object.assign": "^4.1.0",
97 "prop-types": "^15.7.2",
98 "react-with-direction": "^1.3.1",
99 "react-with-styles": "^4.1.0",
100 "react-with-styles-interface-css": "^6.0.0"
101 },
102 "jest": {
103 "testMatch": [
104 "<rootDir>/test/*-test.*"
105 ],
106 "setupFiles": [
107 "<rootDir>/test/_helpers/setupFiles.js"
108 ],
109 "setupFilesAfterEnv": [
110 "<rootDir>/test/_helpers/setupFilesAfterEnv.js"
111 ]
112 },
113 "greenkeeper": {
114 "ignore": [
115 "jest",
116 "babel-jest",
117 "react",
118 "react-dom"
119 ]
120 }
121}