-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
117 lines (117 loc) · 2.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
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
{
"name": "sastrawijs",
"version": "1.1.0",
"description": "Sastrawi is a simple javascript package which allows you to reduce inflected words in Indonesian Language (Bahasa Indonesia) to their base form (stem). Despite its simplicity, this library is designed to be high quality and well documented.",
"main": "dist/sastrawijs.cjs.js",
"module": "dist/sastrawijs.esm.mjs",
"browser": "dist/sastrawijs.umd.js",
"exports": {
".": {
"require": "./dist/sastrawijs.cjs.js",
"import": "./dist/sastrawijs.esm.mjs",
"browser": "./dist/sastrawijs.umd.js"
},
"./package.json": "./package.json",
"./": "./"
},
"files": [
"dist"
],
"scripts": {
"prepublishOnly": "run-s build test test:pkg",
"build": "rollup -c",
"test": "jest",
"test:pkg": "check-export-map"
},
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/damzaky/sastrawijs.git"
},
"keywords": [
"stemmer",
"nlp",
"indonesia"
],
"author": "Damar Zaky",
"license": "MIT",
"bugs": {
"url": "https://github.com/damzaky/sastrawijs/issues"
},
"homepage": "https://github.com/damzaky/sastrawijs",
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/preset-typescript": "^7.23.3",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-typescript": "^11.1.6",
"babel-jest": "^29.7.0",
"check-export-map": "^1.0.1",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-prettier": "^3.2.0",
"husky": "^4.3.5",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"rollup": "^2.79.1",
"rollup-plugin-terser": "^7.0.2"
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"jest": {
"rootDir": "src"
},
"prettier": {
"arrowParens": "avoid"
},
"eslintConfig": {
"env": {
"node": true
},
"extends": [
"eslint:recommended",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaVersion": 2015,
"sourceType": "module"
},
"overrides": [
{
"files": [
"src/**"
],
"env": {
"node": false
}
},
{
"files": [
"**/__tests__/**"
],
"extends": [
"plugin:jest/recommended",
"plugin:jest/style"
]
}
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "eslint --fix",
"*.{js,json,yml,yaml,md}": "prettier --write"
},
"dependencies": {
"babel-plugin-transform-class-properties": "^6.24.1"
}
}