-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) · 7.09 KB
/
Copy pathpackage.json
File metadata and controls
136 lines (136 loc) · 7.09 KB
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "intl-tel-input-monorepo",
"version": "29.1.3",
"private": true,
"description": "Monorepo for intl-tel-input and its official framework wrappers",
"type": "module",
"license": "MIT",
"author": "Jack O'Connor (http://jackocnr.com)",
"scripts": {
"test": "npm run test:js && npm run test:e2e",
"test:js": "vitest run",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:linux": "./scripts/playwright-linux-docker.sh",
"test:e2e:linux:update": "./scripts/playwright-linux-docker.sh --update-snapshots",
"lint:js": "eslint . --cache --cache-location node_modules/.cache/eslint/",
"watch": "node scripts/watch.js",
"clean:dist:css": "rimraf packages/core/dist/css/*",
"clean:dist:img": "rimraf packages/core/dist/img/*",
"clean:dist:js": "rimraf packages/core/dist/js/*",
"clean:dist:js:keep-utils": "node scripts/clean-dist-js-keep-utils.js",
"clean:tmp": "rimraf tmp/built.min.js tmp/one.min.js",
"clean:utils": "rimraf packages/core/dist/js/utils.js",
"clean:react": "rimraf packages/react/dist/*",
"clean:vue": "rimraf packages/vue/dist/*",
"clean:angular": "rimraf packages/angular/dist/*",
"clean:all": "npm run clean:dist:css && npm run clean:dist:img && npm run clean:dist:js && npm run clean:react && npm run clean:vue && npm run clean:angular && npm run clean:tmp",
"build:translations:gen": "node scripts/generate-country-names.js && node scripts/translations.js",
"build:translations": "npm run clean:dist:js && npm run clean:tmp && npm run build:translations:gen && npm run build:js",
"build:utils:closure": "node scripts/build-utils.js",
"build:utils:check": "node scripts/check-lpn-metadata.js",
"build:utils:check:shape": "node scripts/check-utils-shape.js",
"build:utils": "npm run clean:utils && npm run build:utils:closure && npm run build:utils:check && npm run build:utils:check:shape",
"ensure:utils": "node -e \"process.exit(require('node:fs').existsSync('packages/core/dist/js/utils.js')?0:1)\" || npm run build:utils",
"ensure:dts": "node -e \"process.exit(require('node:fs').existsSync('packages/core/dist/js/intlTelInput.d.ts')?0:1)\" || npm run build:js:dts",
"build:css:bundle": "node scripts/esbuild-css.js",
"build:css": "npm run clean:dist:css && npm run build:css:bundle && cp packages/core/src/css/styles.d.ts packages/core/dist/css/",
"build:img:sprite": "node --experimental-strip-types scripts/generate-sprite.js",
"build:img": "npm run clean:dist:img && npm run build:img:sprite && npm run build:css",
"build:js:dts": "node scripts/build-dts.js",
"build:js:dts:check": "tsc -p scripts/tsconfig.typecheck-dts.json",
"build:components:dts:check": "tsc -p scripts/tsconfig.typecheck-dts-components.json",
"typecheck:dts": "npm run ensure:dts && npm run build:js:dts:check",
"typecheck:dts:components": "tsc -p scripts/tsconfig.typecheck-dts-components.json",
"typecheck:main": "tsc --noEmit -p tsconfig.json",
"typecheck:svelte": "svelte-check --workspace packages/svelte --tsconfig tsconfig.json",
"typecheck:vue": "vue-tsc --noEmit -p packages/vue/tsconfig.build.json",
"build:js:core": "node scripts/esbuild.js",
"build:js": "npm run clean:dist:js && npm run clean:tmp && npm run lint:js && npm run build:utils:closure && npm run build:utils:check:shape && npm run build:js:dts && npm run build:js:dts:check && npm run typecheck:main && npm run build:js:core && npm run build:components && npm run build:components:dts:check && npm run typecheck:svelte",
"build:jsfast": "npm run clean:dist:js:keep-utils && npm run clean:tmp && npm run ensure:utils && npm run build:js:core",
"build:jsfast:cmps": "npm run build:jsfast && npm run build:components",
"build:react": "npm run ensure:dts && npm run clean:react && tsc -p packages/react/tsconfig.build.json && node packages/react/build.js",
"build:vue": "npm run ensure:dts && npm run clean:vue && npm run typecheck:vue && vite build --config packages/vue/vite.config.mts",
"build:angular": "npm run ensure:dts && npm run clean:angular && ngc -p packages/angular/tsconfig.build.json && node packages/angular/build.js",
"build:components": "npm run build:react && npm run build:vue && npm run build:angular",
"build:site": "npm run build --workspace=site",
"build": "npm run clean:all && npm run build:img && npm run build:translations:gen && npm run build:js && npm run build:site",
"build:test": "npm run build && npm run test",
"version:bump": "node scripts/version-bump.js",
"version:patch": "npm run build:test && npm run version:bump -- patch",
"version:minor": "npm run build:test && npm run version:bump -- minor",
"version:major": "npm run build:test && npm run version:bump -- major",
"vue:demo": "vite --config packages/vue/demo/vite.config.js packages/vue/demo/${DEMO:-validation}",
"svelte:demo": "vite --config packages/svelte/demo/vite.config.js packages/svelte/demo/${DEMO:-validation}"
},
"devDependencies": {
"@angular/common": "^21.2.7",
"@angular/compiler": "^21.2.7",
"@angular/compiler-cli": "^21.2.7",
"@angular/core": "^21.2.7",
"@angular/forms": "^21.2.7",
"@angular/platform-browser": "^21.2.7",
"@eslint/js": "^9.39.4",
"@playwright/test": "^1.60.0",
"@sveltejs/vite-plugin-svelte": "^7.0.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.3.2",
"@testing-library/svelte": "^5.3.1",
"@testing-library/user-event": "^14.5.2",
"@testing-library/vue": "^8.1.0",
"@types/bootstrap": "^5.2.10",
"@types/node": "^25.5.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-vue": "^6.0.5",
"@vitest/browser": "^4.1.4",
"@vitest/browser-playwright": "^4.1.4",
"@vitest/coverage-v8": "^4.1.4",
"@vue/tsconfig": "^0.9.1",
"bootstrap": "^5.3.8",
"bootstrap-icons": "^1.13.1",
"chokidar": "^5.0.0",
"dts-bundle-generator": "^9.5.1",
"esbuild": "^0.28.0",
"eslint": "^9.39.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"fast-xml-parser": "^5.2.5",
"flag-icons": "^7.2.3",
"globals": "^17.4.0",
"google-closure-compiler": "^20260405.0.0",
"google-closure-library": "^20230802.0.0",
"highlight.js": "^11.11.1",
"http-server": "^14.1.1",
"jsdom": "^29.0.2",
"playwright": "^1.60.0",
"prettier": "^3.8.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"rimraf": "^6.1.3",
"rxjs": "^7.8.2",
"sharp": "^0.34.5",
"svelte": "^5.46.4",
"svelte-check": "^4.4.6",
"typescript": "^6.0.2",
"typescript-eslint": "^8.58.0",
"vite": "^8.0.7",
"vite-plugin-dts": "^4.4.0",
"vitest": "^4.1.3",
"vue": "^3.5.13",
"vue-tsc": "^3.2.7",
"zone.js": "^0.16.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jackocnr/intl-tel-input.git"
},
"homepage": "https://intl-tel-input.com",
"bugs": "https://github.com/jackocnr/intl-tel-input/issues",
"workspaces": [
"packages/*",
"site"
]
}