forked from carbon-design-system/carbon-addons-cloud-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
130 lines (130 loc) · 3.42 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "carbon-addons-cloud-react",
"main": "lib/index.js",
"license": "Apache-2",
"files": [
"lib"
],
"scripts": {
"build": "babel -q -d lib --ignore \"__tests__,__mocks__,*-story.js,*-test.js\" src",
"build:storybook": "build-storybook",
"ci-check": "yarn format:diff && yarn test --runInBand",
"commitmsg": "commitlint -e $GIT_PARAMS",
"format": "prettier --write \"**/*.{scss,css,js,md,ts}\"",
"format:diff": "prettier --list-different \"**/*.{scss,css,js,md,ts}\"",
"precommit": "lint-staged",
"prepublish": "yarn build",
"semantic-release": "semantic-release",
"storybook": "start-storybook -p 3000",
"test": "jest"
},
"dependencies": {
"classnames": "^2.2.5",
"prop-types": "^15.6.0"
},
"peerDependencies": {
"carbon-addons-cloud": "^1.6.3",
"carbon-components-react": "^5.51.9",
"react": "^15.3.2 || ^16.1.0"
},
"devDependencies": {
"@commitlint/cli": "^6.2.0",
"@commitlint/config-conventional": "^6.1.3",
"@storybook/addon-actions": "^3.2.15",
"@storybook/addon-info": "^3.2.14",
"@storybook/addon-links": "^3.2.15",
"@storybook/addons": "^3.2.14",
"@storybook/react": "^3.2.14",
"autoprefixer": "^8.1.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-jest": "^23.0.0",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"babel-runtime": "^6.26.0",
"carbon-addons-cloud": "^1.6.3",
"carbon-components": "^8.11.1",
"carbon-components-react": "^5.51.9",
"carbon-icons": "^6.3.2",
"css-loader": "^0.28.7",
"enzyme": "^3.1.1",
"enzyme-adapter-react-16": "^1.0.4",
"enzyme-to-json": "^3.2.2",
"husky": "^0.14.3",
"jest": "^23.1.0",
"lint-staged": "^7.1.2",
"node-sass": "^4.7.2",
"object-assign": "^4.1.1",
"postcss-loader": "^2.0.8",
"prettier": "^1.10.0",
"promise": "^8.0.1",
"react": "^16.1.0",
"react-dom": "^16.1.0",
"rimraf": "^2.6.2",
"sass-loader": "^6.0.6",
"semantic-release": "^15.0.1",
"storybook-addon-a11y": "^3.1.9",
"style-loader": "^0.20.2",
"whatwg-fetch": "^2.0.3"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{scss,css,js,md}": [
"yarn format",
"git add"
]
},
"babel": {
"presets": [
"env",
"stage-1",
"react",
"flow"
]
},
"prettier": {
"jsxBracketSameLine": true,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "es5"
},
"jest": {
"collectCoverageFrom": [
"components/**/*.js"
],
"setupFiles": [
"<rootDir>/config/polyfills.js",
"<rootDir>/config/jest/setup.js"
],
"testMatch": [
"<rootDir>/**/__tests__/**/*.js?(x)",
"<rootDir>/**/?(*-)(spec|test).js?(x)"
],
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/config/jest/jsTransform.js",
"^.+\\.s?css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"testPathIgnorePatterns": [
"/config/",
"/lib/"
],
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"moduleFileExtensions": [
"js",
"json"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
}
}