-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 3.17 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
{
"name": "@flowio/lib-reference-javascript",
"version": "0.1.18",
"description": "Utilities for accessing flow.io reference data",
"main": "lib/index.js",
"files": [
"lib",
"data"
],
"scripts": {
"prebuild": "npm-run-all clean download",
"build": "babel src --copy-files --out-dir lib",
"clean": "rm -rf ./data ./lib",
"predownload": "mkdir -p ./data",
"download": "npm-run-all --parallel download:*",
"download:currency-format": "curl -s -o data/currency-format.json https://raw.githubusercontent.com/flowcommerce/json-reference/main/data/javascript/currency-format.json",
"download:currency-format-v2": "curl -s -o data/currency-format.v2.json https://raw.githubusercontent.com/flowcommerce/json-reference/main/data/javascript/currency-format.v2.json",
"download:continents": "curl -s -o data/continents.json https://raw.githubusercontent.com/flowcommerce/json-reference/main/data/final/continents.json",
"download:countries": "curl -s -o data/countries.json https://raw.githubusercontent.com/flowcommerce/json-reference/main/data/final/countries.json",
"download:currencies": "curl -s -o data/currencies.json https://raw.githubusercontent.com/flowcommerce/json-reference/main/data/final/currencies.json",
"download:languages": "curl -s -o data/languages.json https://raw.githubusercontent.com/flowcommerce/json-reference/main/data/final/languages.json",
"download:locales": "curl -s -o data/locales.json https://raw.githubusercontent.com/flowcommerce/json-reference/main/data/final/locales.json",
"download:payment-methods": "curl -s -o data/payment-methods.json https://raw.githubusercontent.com/flowcommerce/json-reference/main/data/final/payment-methods.json",
"download:provinces": "curl -s -o data/provinces.json https://raw.githubusercontent.com/flowcommerce/json-reference/main/data/final/provinces.json",
"download:regions": "curl -s -o data/regions.json https://raw.githubusercontent.com/flowcommerce/json-reference/main/data/final/regions.json",
"download:timezones": "curl -s -o data/timezones.json https://raw.githubusercontent.com/flowcommerce/json-reference/main/data/final/timezones.json",
"fix": "eslint . --fix",
"lint": "eslint .",
"postpublish": "rm -rf lib",
"test": "cross-env NODE_ENV=test nyc mocha --opts ./test/mocha.opts ./test/specs/**/*.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/flowcommerce/lib-reference-javascript.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/flowcommerce/lib-reference-javascript/issues"
},
"homepage": "https://github.com/flowcommerce/lib-reference-javascript#readme",
"devDependencies": {
"@flowio/babel-preset-flowio": "^1.4.4",
"@flowio/eslint-config-flowio": "^12.1.0",
"babel-cli": "^6.26.0",
"babel-eslint": "^10.0.1",
"babel-plugin-istanbul": "^5.1.1",
"babel-register": "^6.26.0",
"chai": "^4.2.0",
"cross-env": "^5.2.0",
"eslint": "^5.15.1",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.12.4",
"mocha": "^6.0.2",
"npm-run-all": "^4.1.5",
"nyc": "^13.3.0"
}
}