-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 3 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) · 3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"version": "1.2.0",
"name": "react-starter",
"description": "a simple starter for react",
"author": "Colin Hill",
"main": "index.js",
"private": true,
"scripts": {
"build-dev": "webpack --mode development",
"lint": "eslint ./src --fix",
"storybook": "start-storybook -p 6006 -c .storybook",
"test": "jest",
"test:coverage": "jest --watch --coverage",
"test:watch": "jest --watch",
"start": "serve -s dist",
"dev": "webpack-dev-server --mode development --env.env=dev",
"dev:bundleanalyze": "npm run dev -- --env.addons=bundleanalyze",
"build": "webpack --env.env=prod",
"build:bundleanalyze": "npm run build -- --env.addons=bundleanalyze",
"build:bundlevisualizer": "npm run build -- --env.addons=bundlevisualizer"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@babel/preset-stage-2": "^7.0.0",
"@storybook/addon-actions": "^4.1.13",
"@storybook/addon-jest": "^4.1.13",
"@storybook/addon-knobs": "^4.1.13",
"@storybook/addon-links": "^4.1.13",
"@storybook/react": "^4.1.13",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.1.0",
"babel-loader": "^8.0.5",
"babel-register": "^6.26.0",
"compression-webpack-plugin": "^2.0.0",
"css-loader": "^2.1.0",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.10.0",
"eslint": "^5.15.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.12.4",
"file-loader": "^3.0.1",
"ignore-styles": "^5.0.1",
"jest": "^24.1.0",
"jest-enzyme": "^7.0.1",
"jsdom": "^13.2.0",
"node-sass": "^4.11.0",
"react-addons-test-utils": "^15.6.2",
"react-hot-loader": "^4.7.1",
"react-test-renderer": "^16.8.3",
"sass-loader": "^7.1.0",
"sinon": "^7.2.6",
"style-loader": "^0.23.1",
"uglifyjs-webpack-plugin": "^2.1.2",
"url-loader": "^1.1.2",
"webpack": "^4.29.6",
"webpack-bundle-analyzer": "^3.1.0",
"webpack-cli": "^3.2.3",
"webpack-dev-server": "^3.2.1",
"webpack-merge": "^4.2.1",
"webpack-visualizer-plugin": "^0.1.11"
},
"dependencies": {
"prop-types": "^15.7.2",
"react": "^16.8.3",
"react-dom": "^16.8.3"
},
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>/.jest/setupTests.js",
"testPathIgnorePatterns": [
"<rootDir>/__tests__/setup/",
"<rootDir>/node_modules"
],
"setupFiles": [
"<rootDir>/.jest/helpers.js",
"<rootDir>/.jest/dom.js"
],
"testURL": "http://localhost",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/.jest/assetsTransformer.js"
},
"transform": {
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/.jest/cssTransform.js",
"^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/.jest/fileTransform.js"
}
}
}