-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
114 lines (114 loc) · 3.38 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "shipengine",
"version": "1.0.7",
"description": "The official ShipEngine JavaScript SDK for Node.js",
"keywords": [
"shipengine",
"shipping",
"ups",
"usps",
"fedex",
"dhl",
"shipment-tracking",
"package-tracking",
"shipping-costs",
"shipping-rates",
"shipping-labels",
"address-validation",
"browser"
],
"author": {
"name": "ShipEngine",
"url": "https://www.shipengine.com"
},
"license": "Apache-2.0",
"homepage": "https://www.shipengine.com/docs/",
"repository": {
"type": "git",
"url": "https://github.com/ShipEngine/shipengine-js.git"
},
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "esm/index.d.ts",
"browser": {
"./cjs/isomorphic.node.js": "./cjs/isomorphic.browser.js",
"./esm/isomorphic.node.js": "./esm/isomorphic.browser.js"
},
"files": [
"cjs",
"esm"
],
"engines": {
"node": ">=12"
},
"scripts": {
"build": "npm run gen:types && npm run build:cjs && npm run build:esm",
"build:cjs": "tsc",
"build:esm": "tsc --module esnext --outDir esm",
"bump": "bump --tag --push --all",
"clean": "shx rm -rf .nyc_output coverage cjs esm",
"coverage": "npm run coverage:node && npm run coverage:browser",
"coverage:browser": "npm run test:browser -- --coverage",
"coverage:node": "nyc node_modules/mocha/bin/mocha",
"gen:types": "node scripts/gen-types.js",
"lint": "eslint src test",
"lint:fix": "prettier --write src test && eslint --fix src test",
"prepare": "husky install && npm run build",
"release": "npm run upgrade && npm run clean && npm run build && npm test && npm run bump",
"test": "npm run test:node && npm run test:browser && npm run lint",
"test:browser": "karma start --single-run",
"test:node": "mocha",
"upgrade": "npm-check -u && npm audit fix",
"watch": "tsc --watch"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint:fix",
"pre-push": "npm run lint && npm run test:node"
}
},
"devDependencies": {
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"@jsdevtools/host-environment": "^2.1.2",
"@jsdevtools/karma-host-environment": "^3.0.3",
"@jsdevtools/version-bump-prompt": "^6.1.0",
"@types/chai": "^4.2.16",
"@types/mocha": "^9.0.0",
"@types/node": "^16.4.1",
"@types/node-fetch": "^2.5.12",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"chai": "^4.3.4",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"fetch-mock": "^9.11.0",
"husky": "^7.0.1",
"json-schema-to-typescript": "^11.0.2",
"karma": "^6.3.2",
"karma-chrome-launcher": "^3.1.0",
"karma-cli": "^2.0.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-edge-launcher": "^0.4.2",
"karma-firefox-launcher": "^2.1.1",
"karma-mocha": "^2.0.1",
"karma-safari-launcher": "^1.0.0",
"karma-verbose-reporter": "^0.0.6",
"karma-webpack": "^4.0.2",
"mocha": "^9.0.2",
"npm-check": "^6.0.1",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"shipengine-json-schema": "^1.4.5",
"shx": "^0.3.3",
"sinon": "^11.1.1",
"source-map-support": "^0.5.19",
"typescript": "^4.3.5",
"webpack": "^4.43.0"
},
"dependencies": {
"abort-controller": "^3.0.0",
"node-fetch": "^2.6.1",
"tp-events": "^1.0.3"
}
}