-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.53 KB
/
package.json
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
{
"name": "@the-simple/web-components",
"version": "0.0.0",
"license": "MIT",
"files": [
"/dist",
"/public",
"index.js",
"README.md",
"LICENSE"
],
"scripts": {
"linter:fix": "prettier --write '{,!(node_modules|.git|storybook-static)/**/}*.{js,json,jsx,md}'",
"linter:check": "eslint src/**/* && eslint stories/*.jsx",
"start": "npm -s run build:dist && start-storybook -p 3006 -s ./public",
"build:static": "build-storybook -s public",
"build:dist": "babel --presets @babel/react ./src --out-dir ./dist",
"test": "npm run build:dist && jest",
"test:dist": "npm run build:dist && node tests/dist.test.js",
"test:watch": "npm run test -- --watchAll"
},
"dependencies": {
"async-validator": "^1.11.3",
"prop-types": "^15.7.2",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-rater": "^5.1.1",
"react-select": "^3.0.4",
"react-user-avatar": "^1.10.0",
"styled-components": "4.3.2"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "7.5.5",
"@babel/preset-env": "7.6.2",
"@babel/preset-react": "7.0.0",
"@storybook/addon-info": "^5.1.9",
"@storybook/addon-storyshots": "^5.2.0",
"@storybook/addons": "^5.2.1",
"@storybook/react": "^5.2.1",
"@storybook/theming": "^5.2.1",
"babel-loader": "8.0.6",
"babel-plugin-require-context-hook": "1.0.0",
"babel-plugin-styled-components": "1.10.6",
"eslint": "^6.5.1",
"eslint-config-vivy": "^1.0.8",
"jest": "^24.9.0",
"jest-styled-components": "6.3.3",
"prettier": "^1.18.2",
"react-scripts": "^3.1.1",
"react-test-renderer": "16.10.2",
"surge": "^0.21.3"
},
"jest": {
"projects": [
{
"displayName": "Snapshots",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|svg|ttf|woff|woff2|eot)$": "<rootDir>/.jest/assetsTransformer.js",
"\\.(css)$": "<rootDir>/.jest/styleMock.js"
},
"setupFiles": [
"<rootDir>/.jest/registerContext.js"
],
"testMatch": [
"<rootDir>/tests/storyshots*.js"
]
},
{
"displayName": "Dist",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|svg|ttf|woff|woff2|eot)$": "<rootDir>/.jest/assetsTransformer.js",
"\\.(css)$": "<rootDir>/.jest/styleMock.js",
"/src/(.*)": "ERROR: Imports should not include the src folder"
},
"testMatch": [
"<rootDir>/tests/dist.test.js"
]
}
]
}
}