-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 1.82 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": "rut.ts",
"version": "2.1.0",
"description": "Handle chilean RUT values with ease.",
"author": "hansfpc",
"main": "./dist/cjs/index.min.js",
"module": "./dist/esm/index.min.js",
"types": "./dist/esm/index.d.ts",
"scripts": {
"build": "npm run build:esm && npm run build:cjs && npm run minify && npm run afterbuild",
"afterbuild": "rm -rf dist/esm/index.js && rm -rf dist/cjs/index.js",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"",
"prettier": "prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"",
"test": "jest --config jest.config.js",
"prepare": "npm run build",
"prepublishOnly": "npm run test && npm run prettier && npm run lint",
"minify:esm": "terser dist/esm/index.js -o dist/esm/index.min.js -c -m",
"minify:cjs": "terser dist/cjs/index.js -o dist/cjs/index.min.js -c -m",
"minify": "npm run minify:esm && npm run minify:cjs"
},
"license": "MIT",
"devDependencies": {
"@next/eslint-plugin-next": "14.2.3",
"@types/jest": "29.5.12",
"@typescript-eslint/eslint-plugin": "7.7.1",
"@typescript-eslint/parser": "7.7.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.0",
"jest": "29.7.0",
"prettier": "3.2.5",
"terser": "5.31.0",
"ts-jest": "29.1.2",
"typescript": "5.4.5"
},
"keywords": [
"validation",
"check",
"verifierDigit",
"chilean",
"rut",
"formatting",
"node",
"browser",
"generate",
"deconstruct"
],
"repository": {
"url": "https://github.com/arrowsoftwarehq/rut.ts.git",
"type": "git"
},
"files": [
"dist",
"LICENSE",
"README.md"
]
}