-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.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
{
"name": "$pkg_name",
"version": "0.1.0",
"description": "$pkg_description",
"author": "$author",
"homepage": "https://github.com/YumeT023/$pkg_name#readme",
"license": "$license",
"keywords": [],
"repository": {
"type": "github",
"url": "https://github.com/YumeT023/$pkg_name"
},
"bugs": {
"url": "https://github.com/YumeT023/$pkg_name/issues"
},
"publishConfig": {
"access": "public"
},
"jest": {
"testRegex": "(/__tests__/.*?\\.(spec|test)\\.tsx?)$"
},
"module": "$out/index.mjs",
"main": "$out/index.cjs",
"types": "$out/index.d.ts",
"files": [
"$out"
],
"scripts": {
"build": "yarn clean && rollup -c && yarn clean-dts",
"build-dts": "tsc -p tsconfig.build.json",
"clean": "rimraf $out",
"clean-dts": "rimraf $out/dts",
"lint": "eslint --ignore-path .eslintignore --ext .ts .",
"lint:fix": "yarn lint -- --fix",
"test": "jest",
"format": "prettier --ignore-path .gitignore --write \"src/**/*.{js,ts,tsx}\" \"./**/*.{json,yml,yaml}\""
},
"devDependencies": {
"@babel/preset-env": "^7.22.4",
"@babel/preset-typescript": "^7.21.5",
"@babel/core": "^7.0.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-typescript": "^11.1.1",
"@types/jest": "^29.5.1",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"jest": "^29.5.0",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"rollup": "^3.23.1",
"rollup-plugin-dts": "^5.3.0",
"typescript": "^5.0.4"
},
"dependencies": {
"tslib": "^2.5.3"
}
}