-
Notifications
You must be signed in to change notification settings - Fork 130
/
package.json
83 lines (83 loc) · 2.22 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
{
"name": "@square/web-payments-quickstart",
"version": "1.0.0",
"description": "Quickstart for using Square's Web Payments SDK",
"main": "server.js",
"private": true,
"type": "commonjs",
"scripts": {
"start": "NODE_ENV=production micro --listen tcp://0.0.0.0:${PORT-3000}",
"start:sandbox": "NODE_ENV=sandbox micro --listen tcp://0.0.0.0:${PORT-3000}",
"inspect": "node --inspect node_modules/.bin/micro-dev",
"dev": "micro-dev",
"lint": "npm-run-all --serial lint:*",
"lint:eslint": "eslint --ignore-pattern .gitignore --cache .",
"lint:prettier": "prettier --ignore-pattern .gitignore --check .",
"lint:prettier:fix": "prettier --ignore-pattern .gitignore --write .",
"test": "npm-run-all --serial lint test:*",
"test:unit": "nyc ava"
},
"repository": {
"type": "git",
"url": "git+https://github.com/square/square/web-payments-quickstart.git"
},
"keywords": [
"template"
],
"author": "",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/square/web-payments-quickstart/issues"
},
"homepage": "https://github.com/square/web-payments-quickstart#readme",
"dependencies": {
"ajv": "^8.17.1",
"async-retry": "^1.3.3",
"debug": "^4.3.1",
"dotenv": "^16.4.5",
"micro": "9.3.4",
"microrouter": "^3.1.3",
"serve-handler": "^6.1.6",
"square": "^38.2.0"
},
"devDependencies": {
"@square/prettier-config": "^1.0.0",
"ava": "^6.2.0",
"eslint": "^9.14.0",
"eslint-plugin-ava": "^15.0.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-square": "^26.0.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"micro-dev": "^3.1.0",
"node-fetch": "^2.7.0",
"npm-run-all": "^4.1.5",
"nyc": "^17.1.0",
"prettier": "^3.3.3",
"test-listen": "^1.1.0"
},
"prettier": "@square/prettier-config",
"eslintConfig": {
"env": {
"browser": true,
"node": true
},
"plugins": [
"square",
"ava"
],
"extends": [
"plugin:square/base",
"plugin:ava/recommended"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{html,json,md,yml}": "prettier --write"
}
}