-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 2.26 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 2.26 KB
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
{
"name": "arabic-stem",
"version": "0.0.11",
"license": "ICS",
"keywords": [
"arabic-stemmer",
"arabic-stem",
"arabic",
"language"
],
"homepage": "https://github.com/dwekat/arabic-stem",
"bugs": {
"url": "https://github.com/dwekat/arabic-stem/issues"
},
"files": [
"dist"
],
"main": "dist/index.umd.min.js",
"module": "dist/index.min.mjs",
"unpkg": "dist/index.umd.min.js",
"types": "dist/index.d.ts",
"scripts": {
"prebuild": "npm run lint && run-p test clean",
"clean": "rimraf dist",
"dev": "vite",
"build": "tsc --project tsconfig.build.json && npm run bundle:esm && npm run bundle:esm:min && npm run bundle:umd && npm run bundle:umd:min && npm run build:stats",
"build:stats": "(echo '\\033[35;3m' ; cd dist && ls -lh index*js index*gz | tail -n +2 | awk '{print $5,$9}')",
"bundle:esm": "rollup dist/index.js --file dist/index.mjs --format cjs",
"bundle:esm:min": "terser --ecma 6 --compress --mangle --module -o dist/index.min.mjs -- dist/index.mjs && gzip -9 -c dist/index.min.mjs > dist/index.min.mjs.gz",
"bundle:umd": "rollup dist/index.js --file dist/index.umd.js --format umd --name Stemmer",
"bundle:umd:min": "terser --ecma 6 --compress --mangle -o dist/index.umd.min.js -- dist/index.umd.js && gzip -9 -c dist/index.umd.min.js > dist/index.umd.min.js.gz",
"preview": "vite preview",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "vitest run",
"test:watch": "vitest",
"test:cov": "vitest run --coverage",
"prepare": "is-ci || husky",
"changeset": "changeset",
"version": "changeset version",
"release": "npm run build && changeset publish"
},
"devDependencies": {
"@changesets/cli": "^2.30.0",
"@commitlint/cli": "^20.5.0",
"@commitlint/config-conventional": "^20.5.0",
"@rollup/plugin-typescript": "^12.3.0",
"@typescript-eslint/eslint-plugin": "^8.58.1",
"@typescript-eslint/parser": "^8.58.1",
"eslint": "^10.2.0",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.4.0",
"husky": "^9.1.7",
"is-ci": "^4.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.8.2",
"rimraf": "^6.1.3",
"rollup": "^4.60.1",
"terser": "^5.46.1",
"typescript": "^5.9.3",
"vitest": "^4.1.4"
}
}