-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
143 lines (143 loc) · 4.04 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "bad-words-next",
"version": "3.1.1",
"description": "JavaScript/TypeScript filter and checker for bad words aka profanity",
"keywords": [
"curse",
"swear",
"words",
"profanity",
"filter",
"checker",
"badwords",
"detect",
"sanitize"
],
"repository": "https://github.com/alexzel/bad-words-next",
"homepage": "https://github.com/alexzel/bad-words-next/wiki",
"author": "Alex Zelensky",
"license": "MIT",
"scripts": {
"build": "rollup -c",
"test": "jest",
"pretest": "yarn lint && tsc --noEmit",
"lint": "eslint ./src ./test",
"docs": "typedoc --plugin typedoc-plugin-markdown --plugin typedoc-github-wiki-theme --plugin typedoc-plugin-rename-defaults --options typedoc.json",
"release": "yarn version",
"preversion": "yarn install && yarn build && yarn test && yarn docs",
"postversion": "git push --tags && yarn publish . --new-version $npm_package_version && git push && echo Successfully released version $npm_package_version!",
"cleanup": "git tag -d $(git tag) && git fetch --all --tags && git clean --force -d -x && git reset --hard origin/main && git checkout main",
"prepare": "husky install"
},
"type": "module",
"exports": {
"./lib/decode": {
"types": "./lib/decode.d.ts",
"require": "./lib/decode.cjs",
"default": "./lib/decode.mjs"
},
"./lib/ch": {
"types": "./lib/ch.d.ts",
"require": "./lib/ch.cjs",
"default": "./lib/ch.mjs"
},
"./lib/de": {
"types": "./lib/de.d.ts",
"require": "./lib/de.cjs",
"default": "./lib/de.mjs"
},
"./lib/en": {
"types": "./lib/en.d.ts",
"require": "./lib/en.cjs",
"default": "./lib/en.mjs"
},
"./lib/es": {
"types": "./lib/es.d.ts",
"require": "./lib/es.cjs",
"default": "./lib/es.mjs"
},
"./lib/fr": {
"types": "./lib/fr.d.ts",
"require": "./lib/fr.cjs",
"default": "./lib/fr.mjs"
},
"./lib/pl": {
"types": "./lib/pl.d.ts",
"require": "./lib/pl.cjs",
"default": "./lib/pl.mjs"
},
"./lib/ru": {
"types": "./lib/ru.d.ts",
"require": "./lib/ru.cjs",
"default": "./lib/ru.mjs"
},
"./lib/ru_lat": {
"types": "./lib/ru_lat.d.ts",
"require": "./lib/ru_lat.cjs",
"default": "./lib/ru_lat.mjs"
},
"./lib/ua": {
"types": "./lib/ua.d.ts",
"require": "./lib/ua.cjs",
"default": "./lib/ua.mjs"
},
"./lib": {
"types": "./lib/index.d.ts",
"require": "./lib/index.cjs",
"default": "./lib/index.mjs"
},
".": {
"types": "./lib/index.d.ts",
"require": "./lib/index.cjs",
"default": "./lib/index.mjs"
}
},
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-transform-typescript": "^7.26.3",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-typescript": "^12.1.1",
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.1",
"eslint-config-standard-with-typescript": "^35.0.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.6.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"rollup": "^3.29.5",
"rollup-plugin-delete": "^2.1.0",
"tinybench": "^2.9.0",
"typedoc": "^0.24.8",
"typedoc-github-wiki-theme": "^1.1.0",
"typedoc-plugin-markdown": "^3.17.1",
"typedoc-plugin-rename-defaults": "^0.6.7",
"typescript": "^4.9.4"
},
"dependencies": {
"confusables": "^1.1.1",
"moize": "^6.1.6"
},
"babel": {
"comments": false,
"presets": [
"@babel/preset-typescript",
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-transform-typescript"
]
}
}