-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
117 lines (117 loc) · 4.16 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
{
"name": "@dellstorage/clarity-react",
"version": "1.2.14",
"description": "React components for Clarity UI",
"license": "Apache-2.0",
"private": false,
"outDir": "dist",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"dependencies": {
"@clr/icons": "12.0.8",
"@clr/ui": "12.0.8",
"@webcomponents/custom-elements": "1.2.4",
"moment": "^2.24.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-uid": "^2.3.0",
"typescript": "^3.9.5"
},
"repository": {
"type": "http",
"url": "https://github.com/emcecs/clarity-react"
},
"scripts": {
"build": "tsc",
"copy": "cp package.json ./dist/. && cp README.md ./dist/. ",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"testWithCoverage": "jest --coverage",
"test": "jest",
"lint": "./node_modules/.bin/eslint **//*.tsx",
"precommit": "lint-staged",
"publish-public": "npm publish --ignore-scripts --access public",
"version": "npm version",
"package": "yarn run version patch --unsafe-perm",
"package-major": "yarn run lint && yarn run build && yarn run version major --unsafe-perm",
"package-minor": "yarn run lint && yarn run build && yarn run version minor --unsafe-perm",
"package-patch": "yarn run lint && yarn run build && yarn run version patch --unsafe-perm"
},
"lint-staged": {
"src/**/*.{js,jsx,json,css,ts,tsx}": [
"./node_modules/.bin/prettier --write",
"git add"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/helper-create-regexp-features-plugin": "^7.10.1",
"@babel/preset-typescript": "^7.3.3",
"@sambego/storybook-state": "^2.0.1",
"@storybook/addon-actions": "^5.3.19",
"@storybook/addon-info": "^5.3.19",
"@storybook/addon-links": "^5.3.19",
"@storybook/addons": "^5.3.19",
"@storybook/react": "^5.3.19",
"@types/enzyme": "^3.9.0",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "^24.0.11",
"@types/node": "^11.9.5",
"@types/react": "^16.9.36",
"@types/react-dom": "^16.9.8",
"@types/storybook__react": "^5.2.1",
"@typescript-eslint/eslint-plugin": "^3.2.0",
"@typescript-eslint/parser": "^3.2.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.0.5",
"babel-plugin-root-import": "^6.1.0",
"babel-preset-react-app": "^9.1.2",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.11.2",
"enzyme-to-json": "^3.3.5",
"eslint": "5.12.0",
"eslint-config-prettier": "^4.0.0",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-flowtype": "^5.1.3",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.0.4",
"expect": "latest",
"husky": "^2.4.1",
"jest": "^24.5.0",
"jest-environment-jsdom-fourteen": "^0.1.0",
"lint-staged": "^8.2.1",
"prettier": "^1.16.4",
"react-docgen-typescript-loader": "^3.0.1",
"react-docgen-typescript-webpack-plugin": "^1.1.0",
"ts-jest": "^24.0.0"
},
"jest": {
"transform": {
"\\.(ts|tsx)$": "ts-jest"
},
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/testResolver.tsx",
"\\.(css|less)$": "<rootDir>/testResolver.tsx"
},
"setupFiles": [
"<rootDir>/testSetup.tsx"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"snapshotResolver": "<rootDir>/testResolver.tsx",
"testEnvironment": "jest-environment-jsdom-fourteen"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}