forked from stripe/stripe-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 2.35 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
{
"name": "@anniel-stripe/stripe",
"version": "0.0.1",
"description": "Stripe API wrapper",
"keywords": [
"stripe",
"payment processing",
"credit cards",
"api"
],
"homepage": "https://github.com/stripe/stripe-node",
"author": "Stripe <[email protected]> (https://stripe.com/)",
"contributors": [
"Ask Bjørn Hansen <[email protected]> (http://www.askask.com/)",
"Michelle Bu <[email protected]>",
"Alex Sexton <[email protected]>",
"James Padolsey"
],
"repository": {
"type": "git",
"url": "https://github.com/anniel-stripe/stripe-node.git"
},
"bugs": "https://github.com/stripe/stripe-node/issues",
"engines": {
"node": "^8.1 || >=10.*"
},
"main": "lib/stripe.js",
"types": "types/2022-08-01/index.d.ts",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"chai": "^4.3.6",
"chai-as-promised": "~7.1.1",
"coveralls": "^3.1.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-prettier": "^3.4.1",
"mocha": "^8.4.0",
"mocha-junit-reporter": "^2.1.0",
"nock": "^13.2.9",
"node-fetch": "^2.6.7",
"nyc": "^15.1.0",
"prettier": "^1.16.4",
"typescript": "^4.8.4"
},
"resolutions": {
"minimist": "1.2.6",
"nanoid": "^3.2.0"
},
"dependencies": {
"@types/node": ">=8.1.0",
"qs": "^6.11.0"
},
"license": "MIT",
"scripts": {
"build": "tsc -p tsconfig.json && yarn remove-exports-line && yarn prettier-format",
"remove-exports-line": "sed -i.bak '/Object.defineProperty(exports, \"__esModule\", { value: true });/d' ./lib/stripe.js; rm ./lib/stripe.js.bak",
"clean": "rm -rf ./.nyc_output ./node_modules/.cache ./coverage ./lib",
"prepack": "yarn install && yarn build",
"mocha": "nyc mocha --config=test/.mocharc.js",
"mocha-only": "mocha --config=test/.mocharc.js",
"test": "yarn build && yarn test-typescript && yarn mocha",
"test-typescript": "tsc --build types/test",
"lint": "eslint --ext .js,.jsx,.ts .",
"fix": "yarn lint --fix && ./scripts/updateAPIVersion.js",
"report": "nyc -r text -r lcov report",
"coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"prettier-format": "prettier --config .prettierrc 'lib/**/*.js' --write"
}
}