forked from webex/components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
145 lines (145 loc) · 4.1 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "@webex/components",
"version": "1.35.2",
"main": "dist/webexComponents.cjs.js",
"module": "dist/webexComponents.esm.js",
"scripts": {
"build": "rollup -c",
"prettier": "prettier \"src/**/!(static)/**/*.*(js|jsx)\"",
"prettier:write": "prettier \"src/**/!(static)/**/*.*(js|jsx)\" --write",
"release": "semantic-release",
"release:debug": "semantic-release --debug",
"release:dry-run": "semantic-release --dry-run",
"start": "start-storybook -p 8080 -h localhost",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:eslint": "eslint src/"
},
"repository": {
"type": "git",
"url": "https://github.com/webex/components.git"
},
"publishConfig": {
"tag": "latest",
"access": "public"
},
"author": "devsupport@webex.com",
"license": "MIT",
"peerDependencies": {
"react": "^16.9.0",
"react-dom": "^16.9.0",
"rxjs": "^6.5.4"
},
"dependencies": {
"@momentum-ui/react": "^23.2.1",
"@webex/component-adapter-interfaces": "^1.9.0",
"date-fns": "^2.6.0",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-export-default-from": "^7.5.2",
"@babel/plugin-transform-regenerator": "^7.7.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@semantic-release/changelog": "^3.0.4",
"@semantic-release/git": "^7.0.16",
"@storybook/react": "^5.1.9",
"@webex/eslint-config-base": "^0.8.0",
"@webex/eslint-config-react": "^0.8.0",
"babel-eslint": "^10.0.2",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"conventional-changelog-angular": "^5.0.3",
"css-loader": "^3.1.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-to-json": "^3.3.5",
"eslint": "^4.19.1",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^23.0.4",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-mocha": "^6.0.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^1.6.1",
"husky": "^3.0.2",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.8.0",
"jest-junit": "^7.0.0",
"mockdate": "^2.0.5",
"node-sass": "^4.12.0",
"prettier": "^1.18.2",
"rollup": "^1.17.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.0.1",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-scss": "^1.0.2",
"rxjs": "^6.5.4",
"sass-loader": "^8.0.2",
"sass-resources-loader": "^2.0.1",
"semantic-release": "^15.13.19",
"style-loader": "^0.23.1"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-export-default-from",
"@babel/plugin-transform-regenerator",
"@babel/plugin-transform-runtime"
]
},
"jest": {
"globalSetup": "./jest-global-setup.js",
"reporters": [
"default",
"jest-junit"
],
"setupFiles": [
"<rootDir>/.storybook/setupTests.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less|scss)$": "identity-obj-proxy"
}
},
"jest-junit": {
"outputDirectory": "test_results/jest",
"outputName": "results.xml"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"scope-case": [
2,
"always",
[
"lower-case",
"pascal-case"
]
]
}
},
"husky": {
"hooks": {
"pre-commit": "npm run test:eslint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}