This repository has been archived by the owner on May 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
106 lines (106 loc) · 3.17 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "vanilla-framework-react",
"version": "0.2.0",
"description": "Vanilla Framework, built using React",
"main": "dist/index.js",
"scripts": {
"build": "",
"build-storybook": "build-storybook",
"clean": "rm -rf node_modules && rm -rf build",
"lint": "eslint ./src/",
"prepublish": "export BABEL_ENV=production && rm -rf dist && babel src/lib -d dist",
"serve": "start-storybook -p ${PORT:-8102}",
"snapshot": "build-storybook && percy-storybook --widths=320,1280",
"test": "BABEL_ENV=test jest --watch --env=jsdom"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vanilla-framework/vanilla-framework-react.git"
},
"bugs": {
"url": "https://github.com/vanilla-framework/vanilla-framework-react/issues"
},
"homepage": "https://github.com/vanilla-framework/vanilla-framework-react#readme",
"license": "MIT",
"dependencies": {
"dedent-js": "^1.0.1",
"natural-compare-lite": "^1.4.0",
"pretty": "^2.0.0",
"prop-types": "^15.6.0"
},
"devDependencies": {
"@percy-io/percy-storybook": "1.2.7",
"@storybook/addon-info": "3.2.17",
"@storybook/addon-knobs": "3.2.17",
"@storybook/addon-options": "3.2.17",
"@storybook/react": "3.2.17",
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-eslint": "8.0.2",
"babel-jest": "21.2.0",
"babel-loader": "7.1.2",
"babel-plugin-transform-es2015-modules-commonjs": "6.26.2",
"babel-preset-env": "1.7.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-react-app": "3.1.0",
"babel-preset-stage-0": "6.24.1",
"babel-runtime": "6.26.0",
"dotenv": "4.0.0",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"eslint": "4.11.0",
"eslint-config-airbnb": "16.1.0",
"eslint-plugin-flowtype": "2.39.1",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-jsx-a11y": "6.0.2",
"eslint-plugin-react": "7.4.0",
"friendly-errors-webpack-plugin": "1.6.1",
"jest": "21.2.1",
"object-assign": "4.1.1",
"promise": "8.0.1",
"react": "16.2.0",
"react-dom": "16.2.0",
"react-test-renderer": "16.2.0",
"whatwg-fetch": "2.0.3"
},
"peerDependencies": {
"react": "^16.x",
"react-dom": "^16.x",
"vanilla-framework": "^1.8.0"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"setupFiles": [
"<rootDir>/config/polyfills.js"
],
"setupTestFrameworkScriptFile": "<rootDir>src/setupTests.js",
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.js?(x)",
"<rootDir>/src/**/?(*.)(spec|test).js?(x)"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web"
},
"moduleFileExtensions": [
"web.js",
"js",
"json",
"web.jsx",
"jsx",
"node"
]
}
}