This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 3.08 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
{
"name": "@nick46000/react-dialog",
"version": "1.2.0",
"description": "Dialog component for React",
"keywords": [
"react",
"dialog",
"modal",
"component",
"react-component",
"confirm"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Nick <nick46000@proton.me>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/nimec01/react-dialog.git"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"dev": "vite example/",
"build": "rimraf dist/ && copyfiles -e '**/*.{ts,tsx}' -u 1 src/**/* dist/ &&tsc -p ./",
"lint": "yarn lint:ts && yarn lint:css",
"lint:fix": "yarn lint:ts:fix && yarn lint:css:fix",
"lint:ts": "eslint --ext .ts,.tsx . && prettier --check '**/*.{ts,tsx}'",
"lint:ts:fix": "eslint --fix --ext .ts,.tsx . && prettier --write '**/*.{ts,tsx}'",
"lint:css": "stylelint 'src/**/*.{css,scss}' && prettier --check '**/*.{css,scss}'",
"lint:css:fix": "stylelint 'src/**/*.{css,scss}' --fix && prettier --write '**/*.{css,scss}'",
"test": "jest",
"test:watch": "jest --watch",
"prepare": "husky install"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"files": [
"dist"
],
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"yarn lint:ts:fix"
],
"*.{css,scss}": [
"yarn lint:css:fix"
],
"*.json": [
"prettier --write '**/*.json'"
]
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@commitlint/cz-commitlint": "^17.1.2",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.6",
"@semantic-release/npm": "^9.0.1",
"@semantic-release/release-notes-generator": "^10.0.3",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.1.1",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"@vitejs/plugin-react": "^2.1.0",
"commitizen": "^4.2.5",
"copyfiles": "^2.4.1",
"eslint": ">=7.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-react": "^1.1.7",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.8",
"husky": "^7.0.0",
"inquirer": "8",
"jest": "^29.1.2",
"jest-environment-jsdom": "^29.1.2",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.5",
"stylelint": "^8.0.0",
"stylelint-config-airbnb": "0.0.0",
"stylelint-order": "^0.7.0",
"stylelint-scss": "^1.2.1",
"ts-jest": "^29.0.3",
"typescript": "*",
"vite": "^3.1.6"
},
"dependencies": {
"clsx": "^1.2.1"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
}
}