-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
105 lines (105 loc) · 2.71 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
{
"name": "eslint-plugin-valtio",
"private": true,
"version": "0.8.0",
"description": "An eslint plugin for better valtio experience",
"main": "index.js",
"files": [
"**"
],
"scripts": {
"prepare": "husky install",
"prebuild": "shx rm -rf dist",
"build": "rollup -c",
"postbuild": "yarn copy",
"eslint": "eslint --fix '{src,tests}/**/*.{js,jsx}'",
"eslint:ci": "eslint '{src,tests}/**/*.{js,jsx}'",
"test": "jest",
"test:dev": "jest --watch --no-coverage",
"test:coverage:watch": "jest --watch",
"copy": "copyfiles -f package.json README.md LICENSE dist && json -I -f dist/package.json -e \"this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.prettier=undefined; this.jest=undefined; this['lint-staged']=undefined;\""
},
"engines": {
"node": ">=12.7.0"
},
"prettier": {
"bracketSameLine": true,
"printWidth": 80,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"prettier --write"
],
"*.js": "eslint --cache --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pmndrs/eslint-plugin-valtio.git"
},
"keywords": [
"eslint",
"eslintplugin",
"eslint-plugin"
],
"author": "M. Bagher Abiat",
"contributors": [
"Daishi Kato",
"Reaper"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/pmndrs/eslint-plugin-valtio/issues"
},
"homepage": "https://github.com/pmndrs/eslint-plugin-valtio",
"jest": {
"transform": {
"^.+\\.(t|j)sx?$": [
"@swc/jest"
]
},
"modulePathIgnorePatterns": [
"dist"
],
"testRegex": "test.(js|ts|tsx)$",
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"coverageReporters": [
"json",
"html",
"text",
"text-summary"
],
"collectCoverageFrom": [
"src/**/*.{js,ts,tsx}",
"tests/**/*.{js,ts,tsx}"
]
},
"devDependencies": {
"@babel/core": "^7.17.9",
"@babel/eslint-parser": "^7.25.9",
"@babel/preset-env": "^7.16.11",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^13.2.0",
"@swc/core": "^1.2.164",
"@swc/jest": "^0.2.20",
"copyfiles": "^2.4.1",
"eslint": "^7",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.4",
"eslint-plugin-prettier": "^4.0.0",
"husky": ">=7",
"jest": "^29.4.2",
"json": "^11.0.0",
"lint-staged": ">=10",
"prettier": "^2.6.2",
"rollup": "^2.70.1",
"semver": "^7.6.3",
"shx": "^0.3.4"
}
}