UNPKG

4.5 kBJSONView Raw
1{
2 "name": "@heroku/react-hk-components",
3 "version": "2.10.0",
4 "description": "React components for Heroku",
5 "main": "dist/umd/react-hk-components.js",
6 "repository": "https://github.com/heroku/react-hk-components.git",
7 "author": "Idan Gazit <idan@heroku.com>",
8 "license": "SEE LICENSE IN LICENSE",
9 "dependencies": {
10 "@heroku/react-malibu": "^4.1.0",
11 "classnames": "^2.2.6",
12 "d3": "^5.4.0",
13 "date-fns": "^1.30.1",
14 "lodash-es": "^4.17.11",
15 "prop-types": "15.x",
16 "react": "^16.4.1",
17 "react-dom": "^16.4.1",
18 "react-inlinesvg": "^0.8.3",
19 "react-measure": "^2.0.0",
20 "react-outside-click-handler": "^1.2.2",
21 "react-popper": "^1.0.2",
22 "react-table": "^6.8.6",
23 "react-transition-group": "^2.4.0",
24 "simple-react-modal": "0.5.1"
25 },
26 "devDependencies": {
27 "@storybook/addon-actions": "^4.0.7",
28 "@storybook/addon-options": "^4.0.7",
29 "@storybook/addon-storyshots": "^4.0.7",
30 "@storybook/react": "^4.0.7",
31 "@types/classnames": "^2.2.4",
32 "@types/enzyme": "^3.1.6",
33 "@types/enzyme-adapter-react-15": "^1.0.1",
34 "@types/jest": "^22.1.1",
35 "@types/lodash-es": "^4.17.1",
36 "@types/prop-types": "^15.5.2",
37 "@types/react": "^16.4.6",
38 "@types/react-dom": "^16.0.6",
39 "@types/react-test-renderer": "^16.0.0",
40 "@types/react-transition-group": "^2.0.11",
41 "@types/storybook__addon-actions": "^3.4.1",
42 "@types/storybook__react": "^3.0.6",
43 "awesome-typescript-loader": "^5.2.1",
44 "babel-core": "^6.26.3",
45 "babel-jest": "^23.6.0",
46 "babel-loader": "7",
47 "babel-plugin-require-context-hook": "^1.0.0",
48 "babel-preset-env": "^1.7.0",
49 "babel-preset-react": "^6.24.1",
50 "babel-preset-stage-1": "^6.24.1",
51 "copy-webpack-plugin": "^4.6.0",
52 "css-loader": "^1.0.1",
53 "enzyme": "^3.3.0",
54 "enzyme-adapter-react-16": "^1.1.1",
55 "enzyme-to-json": "^3.3.0",
56 "eslint": "^4.15.0",
57 "eslint-config-prettier": "^3.3.0",
58 "eslint-plugin-import": "^2.8.0",
59 "eslint-plugin-node": "^5.2.1",
60 "eslint-plugin-prettier": "^3.0.0",
61 "eslint-plugin-promise": "^3.6.0",
62 "eslint-plugin-react": "^7.5.1",
63 "file-loader": "^1.1.11",
64 "husky": "^1.2.0",
65 "jest": "^22.1.4",
66 "jest-css-modules-transform": "^2.1.1",
67 "lint-staged": "^8.1.0",
68 "mini-css-extract-plugin": "^0.4.4",
69 "np": "^2.19.0",
70 "prettier": "1.15.3",
71 "react-hot-loader": "^4.3.1",
72 "react-select": "^2.1.2",
73 "react-test-renderer": "16",
74 "regenerator-runtime": "^0.12.1",
75 "style-loader": "^0.23.1",
76 "ts-jest": "^22.0.1",
77 "tslint": "^5.9.1",
78 "tslint-config-prettier": "^1.17.0",
79 "tslint-react": "^3.4.0",
80 "typescript": "2.x",
81 "uglifyjs-webpack-plugin": "^2.0.1",
82 "webpack": "^4.25.1",
83 "webpack-bundle-analyzer": "^3.0.3",
84 "webpack-cli": "^3.1.2"
85 },
86 "scripts": {
87 "analyze": "rm stats.json && webpack --profile --json > stats.json && webpack-bundle-analyzer stats.json",
88 "eslint": "eslint ./src",
89 "tslint": "tslint -c tslint.json --project .",
90 "lint": "yarn run eslint && yarn run tslint",
91 "storybook": "start-storybook --ci -p ${PORT:-9001} -s ./src/static -c .storybook",
92 "build": "yarn run clean && tsc --project tsconfig.build.json && webpack",
93 "clean": "rm -rf ./dist",
94 "prepublish": "yarn run build",
95 "test": "jest --testPathPattern $PWD/test",
96 "test:watch": "jest --watch",
97 "test:coverage": "jest --coverage",
98 "release": "np"
99 },
100 "jest": {
101 "transform": {
102 "^.+\\.[t]sx?$": "ts-jest",
103 "\\.jsx?$": "babel-jest",
104 ".+\\.(css)$": "<rootDir>/node_modules/jest-css-modules-transform"
105 },
106 "transformIgnorePatterns": [
107 "<rootDir>/node_modules/(?!lodash-es/.*)"
108 ],
109 "setupFiles": [
110 "<rootDir>/test/test-setup.ts"
111 ],
112 "testPathIgnorePatterns": [
113 "/node_modules/"
114 ],
115 "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.[jt]sx?$",
116 "testURL": "http://localhost/",
117 "moduleFileExtensions": [
118 "ts",
119 "tsx",
120 "js",
121 "jsx",
122 "json",
123 "node"
124 ]
125 },
126 "files": [
127 "dist",
128 "LICENSE",
129 "README.md"
130 ],
131 "publishConfig": {
132 "access": "public"
133 },
134 "prettier": {
135 "semi": false,
136 "singleQuote": true,
137 "jsxSingleQuote": true,
138 "trailingComma": "es5"
139 },
140 "husky": {
141 "hooks": {
142 "pre-commit": "lint-staged"
143 }
144 },
145 "lint-staged": {
146 "*.{js,ts,jsx,tsx,json,css,md}": [
147 "prettier --write",
148 "git add"
149 ]
150 }
151}