-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
122 lines (122 loc) · 4.68 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
115
116
117
118
119
120
121
122
{
"name": "@goparrot/square-connect-plus",
"version": "1.8.0",
"private": false,
"description": "Extends the official Square Node.js SDK library with additional functionality",
"keywords": [
"node",
"typescript",
"square",
"retry"
],
"bugs": {
"url": "https://github.com/goparrot/square-connect-plus/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/goparrot/square-connect-plus.git"
},
"license": "MIT",
"author": "Coroliov Oleg",
"main": "src/index.ts",
"scripts": {
"commit": "git-cz",
"prepare": "husky install",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "mocha --config=.mocharc.json 'test/**/*spec.ts'",
"test:unit": "mocha --config=.mocharc.json 'test/unit/**/*.spec.ts'",
"test:e2e": "mocha 'test/e2e/**/*.spec.ts'",
"test:ci": "mocha --config=.mocharc.json 'test/**/*.spec.ts' 'test/e2e/**/*.spec.ts'",
"test:integration": "mocha --timeout 15000 'test/integration/**/*.spec.ts'",
"coverage": "nyc npm run test",
"coverage:ci": "nyc npm run test:ci -- --reporter mocha-junit-reporter --reporter-options mochaFile=./coverage/junit.xml",
"prettier": "npm run prettier:base -- '**/**.+(md)'",
"prettier:base": "prettier --ignore-path .eslintignore --write",
"pre-commit": "git add . && run-p typecheck format:staged && run-p lint coverage publish:dev:dry",
"format": "npm run prettier && npm run lint -- --fix",
"format:base": "npm run lint:base -- --fix",
"format:staged": "git add . && lint-staged --allow-empty -q",
"lint": "npm run lint:base -- './**/**.{ts,js,json}'",
"lint:base": "npm run lint:config:check && eslint",
"lint:config:check": "eslint-config-prettier src/index.ts",
"build": "rimraf dist && tsc -p tsconfig.build.json",
"remark": "remark README.md CHANGELOG.md CONTRIBUTING.md CODE_OF_CONDUCT.md .github/ -o -f -q && git add .",
"prepublishOnly": "echo \"use 'npm run publish'\" && exit 1",
"publish": "npm run build && ts-node -T bin/prepublish.ts && npm publish ./dist",
"publish:dev": "npm run publish --tag dev",
"publish:dev:dry": "npm run publish:dev --dry-run",
"version": "echo \"use 'npm run release'\" && exit 1",
"release": "standard-version && git push && git push --tags && npm run publish && npm run github-release",
"release:dry": "npm run publish:dev:dry && standard-version --dry-run",
"github-release": "env-cmd conventional-github-releaser -p angular"
},
"lint-staged": {
"*.{ts,tsx,js,json}": [
"npm run format:base"
],
"*.md": [
"npm run prettier:base"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"dependencies": {
"lodash.upperfirst": "^4.3.1"
},
"devDependencies": {
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@goparrot/eslint-config": "1.1.1",
"@types/chai": "^4.3.0",
"@types/chai-as-promised": "^7.1.5",
"@types/lodash.camelcase": "^4.3.6",
"@types/lodash.snakecase": "^4.1.6",
"@types/lodash.upperfirst": "^4.3.7",
"@types/mocha": "^9.1.0",
"@types/node": "^16.11.24",
"@types/sinon": "^10.0.11",
"@types/square-connect": "^4.20201028.1",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"commitizen": "^4.2.4",
"conventional-github-releaser": "^3.1.5",
"cz-conventional-changelog": "^3.3.0",
"dotenv-safe": "^8.2.0",
"env-cmd": "^10.1.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.4",
"lodash.camelcase": "4.3.0",
"lodash.snakecase": "4.1.1",
"mocha": "^9.2.0",
"mocha-junit-reporter": "^2.0.2",
"nock": "^13.2.4",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.5.1",
"remark-cli": "^10.0.1",
"remark-frontmatter": "^4.0.1",
"remark-github": "^11.2.2",
"remark-lint-emphasis-marker": "^3.1.1",
"remark-lint-strong-marker": "^3.1.1",
"rimraf": "^3.0.2",
"sinon": "^13.0.1",
"square": "^21.1.0",
"standard-version": "^9.3.2",
"ts-node": "^10.5.0",
"typescript": "^4.5.5",
"utility-types": "^3.10.0",
"uuid": "^8.3.2"
},
"peerDependencies": {
"lodash.camelcase": "^4.3.0",
"lodash.snakecase": "^4.1.1",
"square": ">=21.1.0",
"uuid": "^8.3.2"
},
"engines": {
"node": ">=14"
}
}