-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
39 lines (39 loc) · 1.26 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
{
"name": "parseinteger",
"version": "1.1.1",
"description": "Parse Exclusively Safe Integer From String",
"main": "build/index.js",
"types": "build/index.d.ts",
"module": "build/index.mjs",
"scripts": {
"test": "jest",
"prepublishOnly": "npm run bundle && npm run declaration",
"bundle": "npm run bundle:esm && npm run bundle:cjs",
"bundle:esm": "esbuild src/index.ts --bundle --format=esm --outfile=build/index.mjs --platform=node --external:./node_modules/* --target=ESNext --minify --allow-overwrite",
"bundle:cjs": "esbuild src/index.ts --bundle --outfile=build/index.js --platform=node --external:./node_modules/* --target=ESNext --minify --allow-overwrite",
"declaration": "npx tsc src/index.ts --declaration --emitDeclarationOnly --esModuleInterop --allowSyntheticDefaultImports --outDir build"
},
"repository": {
"type": "git",
"url": "https://github.com/MintedKitten/parseInteger"
},
"keywords": [
"TypeScript",
"JavaScript",
"ParseInteger",
"Integer",
"Parse"
],
"author": "MintedKitten",
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.2.5",
"esbuild": "^0.16.9",
"jest": "^29.3.1",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
},
"files": [
"./build"
]
}