-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 2.32 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
{
"name": "eslint-plugin-no-literal-classnames",
"version": "1.2.0",
"description": "Disallows the usage of string literals as classnames for React components",
"engines": {
"node": ">=8.10.0"
},
"main": "dist/index.js",
"files": [
"dist"
],
"scripts": {
"prepare": "husky install",
"clean": "rimraf dist",
"prebuild": "npm run clean",
"build": "tsup src/index.ts --no-splitting --minify",
"lint": "concurrently \"npm run lint:ts\" \"npm run lint:eslint\" \"npm run lint:prettier\"",
"lint:ts": "tsc --noEmit",
"lint:eslint": "eslint '**/*.{js,ts}'",
"lint:prettier": "prettier --check '**/*.{js,ts,json,yaml,md}'",
"fix": "concurrently \"npm run fix:eslint\" \"npm run fix:prettier\"",
"fix:eslint": "npm run lint:eslint -- --fix",
"fix:prettier": "prettier --write .",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"eslint": ">=5.16.0"
},
"devDependencies": {
"@types/eslint": "^8.44.3",
"@types/estree-jsx": "^1.0.1",
"@types/jest": "^29.5.5",
"@types/json-stringify-safe": "^5.0.1",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@typescript-eslint/utils": "^6.7.3",
"concurrently": "^8.2.1",
"eslint": "^8.50.0",
"eslint-plugin-prefer-snakecase": "^1.8.4",
"husky": "^8.0.3",
"jest": "^29.7.0",
"json-stringify-safe": "^5.0.1",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"rimraf": "^4.4.0",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"tsup": "^6.6.3",
"typescript": "^5.2.2"
},
"lint-staged": {
"*.{js,ts}": [
"npm run fix",
"prettier --write ."
],
"*.{json,yaml,md}": [
"prettier --write ."
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/zignis/eslint-plugin-no-literal-classnames.git"
},
"keywords": [
"typescript",
"classnames",
"react",
"jsx",
"eslint",
"eslintplugin",
"eslint-plugin"
],
"author": "zignis <velociraptorm77@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/zignis/eslint-plugin-no-literal-classnames/issues"
},
"homepage": "https://github.com/zignis/eslint-plugin-no-literal-classnames#readme"
}