This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
99 lines (99 loc) · 2.11 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
{
"name": "modern-diacritics",
"version": "2.3.1",
"description": "A modern way to latinize/ascii-fold strings and normalize symbols.",
"keywords": [
"diacritics",
"remove",
"removal",
"search",
"string",
"slugify",
"slug",
"latinize",
"normalize"
],
"repository": "Mitsunee/modern-diacritics",
"author": "Mitsunee <michelle@mitsunee.com>",
"license": "MIT",
"type": "module",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
"scripts": {
"lint": "eslint .",
"format": "prettier -w .",
"test": "uvu -r tsm",
"prebuild": "yarn lint && yarn test",
"build": "rollup -c",
"prepare": "simple-git-hooks",
"dev": "rollup -c -w",
"publish": "yarn build && clean-publish"
},
"clean-publish": {
"withoutPublish": true,
"tempDir": "tmp",
"packageManager": "yarn",
"fields": [
"scripts",
"packageManager"
],
"files": [
"src",
"rollup.config.mjs"
]
},
"eslintConfig": {
"parserOptions": {
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"foxkit",
"foxkit/ts",
"prettier"
]
},
"simple-git-hooks": {
"pre-commit": "yarn nano-staged"
},
"nano-staged": {
"**/*.{ts,js}": [
"eslint",
"prettier -w"
],
"**/*.{json,md,yml}": [
"prettier -w"
]
},
"files": [
"dist/",
"index.d.ts"
],
"devDependencies": {
"@foxkit/rollup-config": "^1.0.1",
"@types/node": "^18.0.4",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"clean-publish": "^4.0.0",
"eslint": "^8.13.0",
"eslint-config-foxkit": "^1.0.1",
"eslint-config-prettier": "^8.5.0",
"nano-staged": "^0.8.0",
"prettier": "^2.6.2",
"rollup": "^2.70.2",
"rollup-plugin-typescript2": "^0.32.1",
"simple-git-hooks": "^2.7.0",
"tsm": "^2.2.1",
"typescript": "^4.6.3",
"uvu": "^0.5.3"
},
"engines": {
"node": "^14 || >=16"
}
}