-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.53 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
{
"name": "@amuject/ip",
"version": "1.0.1",
"description": "IP calculation, bogon IP checking tool.",
"author": "Wany <[email protected]> (https://wanyne.com)",
"type": "module",
"exports": {
".": {
"import": "./dist-esm/index.js",
"require": "./dist-cjs/index.js"
}
},
"module": "./dist-esm/index.js",
"main": "./dist-cjs/index.js",
"keywords": [
"ip",
"ipv4",
"ipv6",
"subnetmask",
"subnet",
"calc"
],
"homepage": "https://github.com/Amuject/node-IP#readme",
"repository": {
"type": "git",
"url": "https://github.com/Amuject/node-IP.git"
},
"scripts": {
"build": "npm run build:clean && npm run build:esm && npm run build:cjs && npm run build:package",
"build:clean": "bash scripts/build:clean.sh",
"build:esm": "tsc --p tsconfig.json",
"build:cjs": "npx babel dist-esm --out-dir dist-cjs",
"build:package": "bash scripts/build:package.sh",
"test": "npm run test:clean && npm run test:esm && npm run test:cjs",
"test:clean": "bash scripts/test:clean.sh",
"test:esm": "cd test; npm run test:esm",
"test:cjs": "cd test; npm run test:cjs",
"bnt": "npm run build && npm run test"
},
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.25.2",
"@babel/plugin-transform-modules-commonjs": "^7.24.8",
"@babel/preset-env": "^7.25.4",
"@types/node": "^22.5.0",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-transform-import-meta": "^2.2.1",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
}
}