This repository has been archived by the owner on Oct 9, 2021. It is now read-only.
forked from catamphetamine/libphonenumber-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3.97 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
94
95
96
97
{
"name": "libphonenumber-js",
"version": "0.4.26",
"description": "A simpler (and smaller) rewrite of Google Android's popular libphonenumber library",
"main": "index.common.js",
"module": "index.es6.js",
"dependencies": {
"babel-runtime": "^6.6.1",
"bluebird": "^3.4.6",
"minimist": "^1.2.0",
"xml2js": "^0.4.17"
},
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-core": "^6.21.0",
"babel-loader": "^6.2.10",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-plugin-transform-runtime": "^6.6.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-stage-2": "^6.18.0",
"better-npm-run": "0.0.14",
"chai": "^3.5.0",
"istanbul": "^1.1.0-alpha.1",
"json-loader": "^0.5.4",
"mocha": "^2.4.5",
"npm-run-all": "^1.4.0",
"rimraf": "^2.5.0",
"webpack": "^2.2.0-rc.3"
},
"scripts": {
"metadata:pull-request": "babel-node runnable/metadata-pull-request",
"metadata:branch": "babel-node runnable/metadata-branch",
"metadata:unbranch": "babel-node runnable/metadata-unbranch",
"metadata:publish": "npm version patch && npm publish && git push",
"metadata:update": "npm run metadata:branch && npm run metadata:download && babel-node runnable/update && npm run metadata:unbranch",
"metadata:generate": "npm-run-all metadata:generate:min metadata:generate:full metadata:generate:mobile",
"metadata:generate:min": "babel-node -- runnable/generate ../PhoneNumberMetadata.xml ../metadata.min.json",
"metadata:generate:full": "babel-node -- runnable/generate ../PhoneNumberMetadata.xml ../metadata.full.json --extended",
"metadata:generate:mobile": "babel-node -- runnable/generate ../PhoneNumberMetadata.xml ../metadata.mobile.json --types mobile --debug",
"metadata:download": "babel-node runnable/download https://raw.githubusercontent.com/googlei18n/libphonenumber/master/resources/PhoneNumberMetadata.xml PhoneNumberMetadata.xml",
"test": "mocha --compilers js:babel-core/register --colors --bail --reporter spec test/ --recursive",
"test-coverage": "istanbul cover -x \"build/**\" -x \"es6/**\" node_modules/mocha/bin/_mocha -- --compilers js:babel-core/register --colors --reporter dot test/ --recursive",
"test-travis": "istanbul cover -x \"build/**\" -x \"es6/**\" node_modules/mocha/bin/_mocha --report lcovonly -- --compilers js:babel-core/register --colors --reporter spec test/ --recursive",
"browser-build": "better-npm-run browser-build",
"browser-build-dev": "npm run build-es6-modules && WEBPACK_ENV=dev webpack --progress --colors --watch",
"clean-for-build": "rimraf ./build/**/* ./es6/**/*",
"build-commonjs-modules": "better-npm-run build-commonjs-modules",
"build-es6-modules": "better-npm-run build-es6-modules",
"build": "npm-run-all clean-for-build build-commonjs-modules build-es6-modules",
"prepublish": "npm-run-all build test browser-build"
},
"betterScripts": {
"browser-build": {
"command": "npm run build-es6-modules && webpack --progress --colors",
"env": {
"WEBPACK_ENV": "build"
}
},
"build-commonjs-modules": {
"command": "babel ./source --out-dir ./build --source-maps",
"env": {
"BABEL_ENV": "commonjs"
}
},
"build-es6-modules": {
"command": "babel ./source --out-dir ./es6 --source-maps",
"env": {
"BABEL_ENV": "es6"
}
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/catamphetamine/libphonenumber-js.git"
},
"keywords": [
"javascript",
"telephone",
"phone",
"number",
"input",
"mobile",
"android",
"iphone",
"international",
"libphonenumber"
],
"author": "Halt Hammerzeit <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/catamphetamine/libphonenumber-js/issues"
},
"homepage": "https://github.com/catamphetamine/libphonenumber-js#readme",
"bin": {
"libphonenumber-generate-metadata": "./bin/update-metadata.js"
}
}