-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpackage.json
More file actions
155 lines (155 loc) · 4.82 KB
/
Copy pathpackage.json
File metadata and controls
155 lines (155 loc) · 4.82 KB
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
146
147
148
149
150
151
152
153
154
155
{
"name": "@catho/quantum",
"version": "0.0.0-development",
"description": "Catho react components",
"private": false,
"sideEffects": false,
"types": "index.d.ts",
"scripts": {
"test": "jest",
"test:components": "yarn test ./components",
"test:coverage": "yarn test:components --coverage",
"build": "cross-env NODE_ENV=production babel ./components --out-dir dist --copy-files",
"build-storybook": "storybook build",
"clean:files:build": "find ./dist -type f \\( -name '*.unit.test.js' -or -name '*.unit.test.jsx' \\) -delete",
"clean:directories:build": "find ./dist -type d -name '__snapshots__' -exec rm -r {} +",
"clean:build": "rm -rf ./dist",
"postbuild": "yarn clean:directories:build && yarn clean:files:build && yarn copy-files",
"copy-files": "babel-node ./scripts/copy-files.js",
"prebuild": "yarn clean:build",
"commitizen": "git-cz",
"precommit": "lint-staged",
"lint:components": "yarn lint ./components",
"lint:stories": "yarn lint ./stories",
"lint:js": "yarn lint ./*.js",
"lint:all": "yarn lint:components && yarn lint:stories && yarn lint:js",
"lint": "eslint --ext js,jsx --quiet",
"prepush": "yarn lint:all && yarn test:components",
"storybook": "storybook dev --port 9007",
"format": "prettier --write ./**/*.{js,jsx,json}",
"semantic-release": "semantic-release",
"deploy-storybook": "storybook-to-ghpages",
"generate": "node ./scripts/create-component"
},
"repository": {
"type": "git",
"url": "git@github.com:catho/quantum.git"
},
"keywords": [
"catho",
"react",
"components",
"style",
"guide",
"quantum"
],
"author": "Catho",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.22.9",
"@babel/eslint-parser": "^7.22.9",
"@babel/node": "^7.2.2",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.16.7",
"@semantic-release/exec": "^6.0.3",
"@storybook/addon-a11y": "^7.1.0",
"@storybook/addon-essentials": "^7.1.0",
"@storybook/addon-links": "^7.1.0",
"@storybook/addons": "^7.1.0",
"@storybook/react": "^7.1.0",
"@storybook/react-webpack5": "^7.1.0",
"@storybook/storybook-deployer": "^2.8.16",
"@storybook/theming": "^7.1.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"all-contributors-cli": "^6.8.0",
"babel-core": "^7.0.0-bridge.0",
"babel-loader": "^8.0.0-beta.6",
"babel-plugin-styled-components": "^1.10.0",
"commitizen": "^4.2.4",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "2.1.0",
"eslint": "^8.45.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.0",
"husky": "^1.3.1",
"intersection-observer": "0.12.0",
"jest": "^27.5.1",
"jest-styled-components": "^7.0.5",
"lint-staged": "^11.0.0",
"prettier": "^3.0.0",
"react": "^18.2.0",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.2.0",
"regenerator-runtime": "^0.13.1",
"semantic-release": "19.0.5",
"snapshot-diff": "^0.9.0",
"storybook": "^7.1.0",
"styled-components": "5.3.11"
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
"@mui/material": "^5.13.5",
"babel-polyfill": "^6.26.0",
"downshift": "^3.1.10",
"prop-types": "^15.6.2",
"react-slick": "^0.29.0",
"react-text-mask": "^5.4.3",
"slugify": "^1.3.6"
},
"peerDependencies": {
"react": "^16.14.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0",
"styled-components": ">= 4"
},
"lint-staged": {
"*.{js,jsx,json}": [
"yarn format",
"git add"
]
},
"jest": {
"clearMocks": true,
"coverageDirectory": "coverage",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/fileMock.js",
"\\.(css|less)$": "<rootDir>/styleMock.js"
},
"setupFilesAfterEnv": [
"<rootDir>/jest-config.js"
],
"testEnvironment": "jsdom"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"publishConfig": {
"access": "public"
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"pkgRoot": "./dist"
}
],
"@semantic-release/github"
]
}
}