1 | {
|
2 | "name": "react-starter",
|
3 | "description": "25sprout web starter with React",
|
4 | "version": "0.1.0",
|
5 | "keywords": [
|
6 | "react",
|
7 | "25sprout",
|
8 | "starter"
|
9 | ],
|
10 | "contributor": [
|
11 | {
|
12 | "name": "25sprout Front-End Team",
|
13 | "email": "hey@25sprout.com"
|
14 | }
|
15 | ],
|
16 | "repository": {
|
17 | "type": "url",
|
18 | "url": "https://fox.25sprout.com/frontend/react-starter"
|
19 | },
|
20 | "bugs": {
|
21 | "url": "https://fox.25sprout.com/frontend/react-starter/issues"
|
22 | },
|
23 | "license": "MIT",
|
24 | "scripts": {
|
25 | "start": "npm run dev:demo",
|
26 | "dev:demo": "cross-env NODE_ENV=development PROXY=demo API=dev babel-node server.js",
|
27 | "dev:production": "cross-env NODE_ENV=development PROXY=production API=dev babel-node server.js",
|
28 | "build:demo": "cross-env NODE_ENV=development API=demo webpack --config webpack.config.prod.babel.js",
|
29 | "build": "cross-env NODE_ENV=production API=production webpack --config webpack.config.prod.babel.js",
|
30 | "lint": "eslint . && stylelint .",
|
31 | "storybook": "start-storybook -p 8000 -c storybook",
|
32 | "prebuild:storybook": "npm run test:generate-output || true",
|
33 | "build:storybook": "build-storybook -c storybook -o _public/storybook",
|
34 | "test:generate-output": "jest --json --outputFile=.jest-test-results.json",
|
35 | "test": "jest --coverage",
|
36 | "commit": "git-cz",
|
37 | "release": "standard-version",
|
38 | "format": "prettier --config ./.prettierrc --write \"./{,**/}/*.{js,css,json}\"",
|
39 | "component:create": "babel-node commands/component/create"
|
40 | },
|
41 | "engines": {
|
42 | "node": ">=10"
|
43 | },
|
44 | "main": "index.js",
|
45 | "dependencies": {
|
46 | "core-js": "^3.6.4",
|
47 | "history": "^4.10.1",
|
48 | "normalize.css": "^8.0.1",
|
49 | "qs": "^6.9.1",
|
50 | "react": "^16.13.0",
|
51 | "react-dom": "^16.13.0",
|
52 | "react-redux": "^7.2.0",
|
53 | "redux": "^4.0.5",
|
54 | "redux-actions": "^2.6.5",
|
55 | "redux-promise-middleware": "^6.1.2",
|
56 | "redux-thunk-fsa": "^4.0.1",
|
57 | "regenerator-runtime": "^0.13.5",
|
58 | "universal-router": "^9.0.1",
|
59 | "whatwg-fetch": "^3.0.0"
|
60 | },
|
61 | "devDependencies": {
|
62 | "@babel/cli": "^7.8.4",
|
63 | "@babel/core": "^7.8.7",
|
64 | "@babel/node": "^7.8.7",
|
65 | "@babel/plugin-proposal-class-properties": "^7.8.3",
|
66 | "@babel/plugin-proposal-json-strings": "^7.8.3",
|
67 | "@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
68 | "@babel/plugin-syntax-import-meta": "^7.8.3",
|
69 | "@babel/plugin-transform-react-constant-elements": "^7.8.3",
|
70 | "@babel/preset-env": "^7.8.7",
|
71 | "@babel/preset-react": "^7.8.3",
|
72 | "@babel/register": "^7.8.6",
|
73 | "@emotion/core": "^10.0.28",
|
74 | "@hot-loader/react-dom": "^16.13.0",
|
75 | "@storybook/addon-actions": "^5.3.17",
|
76 | "@storybook/addon-backgrounds": "^5.3.17",
|
77 | "@storybook/addon-jest": "^5.3.17",
|
78 | "@storybook/addon-knobs": "^5.3.17",
|
79 | "@storybook/addon-options": "^5.3.17",
|
80 | "@storybook/addon-viewport": "^5.3.17",
|
81 | "@storybook/react": "^5.3.17",
|
82 | "@svgr/webpack": "^5.2.0",
|
83 | "@testing-library/jest-dom": "^5.1.1",
|
84 | "@testing-library/react": "^10.0.1",
|
85 | "babel-eslint": "^10.1.0",
|
86 | "babel-jest": "^25.1.0",
|
87 | "babel-loader": "^8.0.5",
|
88 | "babel-plugin-module-resolver": "^4.0.0",
|
89 | "colors": "^1.4.0",
|
90 | "commitizen": "^4.0.3",
|
91 | "compression-webpack-plugin": "^3.1.0",
|
92 | "connect-history-api-fallback": "^1.6.0",
|
93 | "cross-env": "^7.0.0",
|
94 | "css-loader": "^3.4.2",
|
95 | "cz-conventional-changelog": "^3.1.0",
|
96 | "enquirer": "^2.3.4",
|
97 | "eslint": "^6.8.0",
|
98 | "eslint-config-airbnb": "^18.0.1",
|
99 | "eslint-config-prettier": "^6.10.0",
|
100 | "eslint-plugin-import": "^2.20.1",
|
101 | "eslint-plugin-jsx-a11y": "^6.2.3",
|
102 | "eslint-plugin-prettier": "^3.1.2",
|
103 | "eslint-plugin-react": "^7.18.3",
|
104 | "eslint-plugin-react-hooks": "^2.4.0",
|
105 | "express": "^4.17.1",
|
106 | "file-loader": "^5.1.0",
|
107 | "html-webpack-plugin": "^3.2.0",
|
108 | "http-proxy": "^1.18.0",
|
109 | "identity-obj-proxy": "^3.0.0",
|
110 | "isomorphic-fetch": "^2.2.1",
|
111 | "jest": "^25.1.0",
|
112 | "mini-css-extract-plugin": "^0.9.0",
|
113 | "moment": "^2.24.0",
|
114 | "nock": "^12.0.1",
|
115 | "optimize-css-assets-webpack-plugin": "^5.0.3",
|
116 | "postcss-import": "^12.0.1",
|
117 | "postcss-loader": "^3.0.0",
|
118 | "postcss-preset-env": "^6.7.0",
|
119 | "prettier": "^1.19.1",
|
120 | "react-hot-loader": "^4.12.20",
|
121 | "react-test-renderer": "^16.13.0",
|
122 | "redux-logger": "^3.0.6",
|
123 | "redux-mock-store": "^1.5.4",
|
124 | "standard-version": "^7.1.0",
|
125 | "style-loader": "^1.1.3",
|
126 | "stylelint": "^13.2.0",
|
127 | "stylelint-config-standard": "^20.0.0",
|
128 | "stylelint-order": "^4.0.0",
|
129 | "terser-webpack-plugin": "^2.3.5",
|
130 | "url-loader": "^3.0.0",
|
131 | "webpack": "^4.42.0",
|
132 | "webpack-cli": "^3.3.11",
|
133 | "webpack-dev-middleware": "^3.7.2",
|
134 | "webpack-hot-middleware": "^2.25.0"
|
135 | },
|
136 | "jest": {
|
137 | "roots": [
|
138 | "<rootDir>/src/",
|
139 | "<rootDir>/storybook/"
|
140 | ],
|
141 | "setupFiles": [
|
142 | "<rootDir>/storybook/__conf__/polyfill.js"
|
143 | ],
|
144 | "setupFilesAfterEnv": [
|
145 | "<rootDir>/storybook/__conf__/setup.js"
|
146 | ],
|
147 | "testMatch": [
|
148 | "**/src/**/*.stories.js",
|
149 | "**/src/**/*.spec.js"
|
150 | ],
|
151 | "automock": false,
|
152 | "globals": {
|
153 | "__TESTS__": true
|
154 | },
|
155 | "unmockedModulePathPatterns": [
|
156 | "<rootDir>/node_modules/react/",
|
157 | "<rootDir>/node_modules/react-dom/",
|
158 | "<rootDir>/node_modules/@testing-library/react/",
|
159 | "<rootDir>/node_modules/react-addons-test-utils/"
|
160 | ],
|
161 | "moduleNameMapper": {
|
162 | "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/storybook/__mocks__/file.js",
|
163 | "\\.(css|less)$": "identity-obj-proxy",
|
164 | "@storybook/react": "<rootDir>/storybook/__mocks__/facade.js",
|
165 | "\\.jest-test-results.json$": "<rootDir>/storybook/__mocks__/file.js"
|
166 | },
|
167 | "coveragePathIgnorePatterns": [
|
168 | "<rootDir>/storybook/",
|
169 | "<rootDir>/node_modules/"
|
170 | ]
|
171 | },
|
172 | "config": {
|
173 | "commitizen": {
|
174 | "path": "./node_modules/cz-conventional-changelog"
|
175 | }
|
176 | },
|
177 | "moduleRoots": [
|
178 | "src"
|
179 | ]
|
180 | }
|