-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.29 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
{
"name": "jotai-ts-transformer",
"version": "2.0.0",
"description": "TypeScript Jotai Typescript Transformer",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"repository": "https://github.com/ahungrynoob/jotai-ts-transformer",
"author": "dxd_sjtu@outlook.com",
"license": "MIT",
"scripts": {
"build": "tsc -p tsconfig.json --outDir lib --diagnostics && tsc -p tsconfig.json -m esnext --outDir esm --diagnostics",
"dev": "tsc -p tsconfig.json --outDir lib --diagnostics -w",
"start": "rm -rf dist && NODE_ENV=production webpack",
"format": "prettier . --write",
"lint": "eslint . -c ./.eslintrc.yml",
"test": "jest --no-cache --ci",
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
},
"devDependencies": {
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
"@swc-node/jest": "^1.4.3",
"@types/jest": "^27.4.1",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"husky": "7",
"jest": "^27.5.1",
"jest-specific-snapshot": "^5.0.0",
"jotai": "^2.0.0",
"lint-staged": "^12.3.7",
"npm-run-all": "^4.1.5",
"pinst": "^3.0.0",
"prettier": "^2.6.0",
"react": "^18.2.0",
"react-refresh": "^0.14.0",
"react-refresh-typescript": "^2.0.7",
"ts-loader": "^9.4.2",
"typescript": "4.7.4",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
},
"dependencies": {},
"peerDependencies": {
"jotai": "*",
"typescript": ">= 4.7.4"
},
"files": [
"lib/**",
"esm/**"
],
"jest": {
"preset": "@swc-node/jest",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"testRegex": "/tests/.*\\.spec\\.(j|t)sx?$",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.ts"
]
},
"prettier": {
"printWidth": 80,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "always"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"eslint -c .eslintrc.yml --fix"
],
"*.@(js|ts|tsx|yml|yaml|md|json)": [
"prettier --write"
]
}
}