-
Notifications
You must be signed in to change notification settings - Fork 55
/
package.json
93 lines (93 loc) · 2.55 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
{
"name": "awesome-phonenumber",
"description": "Google's libphonenumber pre-compiled with the closure compiler",
"license": "MIT",
"version": "0.0.0-development",
"author": "Gustaf Räntilä <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/grantila/awesome-phonenumber.git"
},
"engines": {
"node": ">=18"
},
"main": "./index.js",
"types": "./index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"require": "./index.js",
"default": "./index-esm.mjs"
},
"./package.json": "./package.json"
},
"scripts": {
"build:libphonenumber": "node_modules/.bin/gulp",
"build:rewrite": "ts-node scripts/rewrite.ts",
"build:esm:build": "rollup -c ./rollup.config.mjs",
"build:esm:rewrite": "ts-node scripts/rewrite-esm.ts",
"build:esm": "yarn build:esm:build && yarn build:esm:rewrite",
"build": "yarn build:libphonenumber && yarn build:rewrite && yarn build:esm",
"test:compile": "scripts/test.sh",
"test": "yarn test:compile && NODE_OPTIONS=--experimental-vm-modules jest",
"test-dist-webpack": "cd webpack && yarn build && yarn test",
"test-dist-esm-test": "cd esm-test && yarn build && yarn test",
"test-dist-cjs-test": "cd cjs-test && yarn build && yarn test",
"test-dist": "yarn test-dist-webpack && yarn test-dist-esm-test && yarn test-dist-cjs-test",
"cz": "git-cz",
"semantic-release": "semantic-release"
},
"pre-commit": [
"test"
],
"workspaces": [
"webpack",
"cjs-test",
"esm-test"
],
"files": [
"lib",
"index.js",
"index-esm.mjs",
"index.d.ts"
],
"keywords": [
"libphonenumber",
"phonenumber",
"phone",
"number",
"closure",
"web",
"browser",
"browserify",
"awesome"
],
"devDependencies": {
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@rollup/plugin-commonjs": "^28.0.0",
"@types/jest": "^29.5.13",
"@types/mkdirp": "^2.0.0",
"@types/node": "^22.7.4",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"google-closure-compiler": "^20240317.0.0",
"google-closure-library": "^20230802.0.0",
"gulp": "^5.0.0",
"jest": "^29.7.0",
"mkdirp": "^3.0.1",
"pre-commit": "^1.2.2",
"replace": "^1.2.2",
"rmfr": "^2.0.0",
"rollup": "4.23.0",
"ts-jest-resolver": "^2.0.1",
"ts-node": "^10.9.2",
"typescript": "^5.6.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"packageManager": "[email protected]"
}