-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.92 KB
/
package.json
File metadata and controls
43 lines (43 loc) · 1.92 KB
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
{
"name": "processout.js",
"version": "1.8.7",
"description": "ProcessOut.js is a JavaScript library for ProcessOut's payment processing API.",
"scripts": {
"build:processout": "tsc -p src/processout && uglifyjs --compress --keep-fnames --ie8 dist/processout.js -o dist/processout.js",
"build:modal": "tsc -p src/modal && uglifyjs --compress --keep-fnames --ie8 dist/modal.js -o dist/modal.js",
"build:test": "yarn build:processout & yarn build:modal && yarn append-debug-mode && yarn append-version",
"build": "yarn build:processout & yarn build:modal && yarn append-version",
"verify": "yarn lint & yarn build",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"format": "prettier --ignore-path .gitignore --write \"**/*.+(ts|json)\"",
"format:check": "prettier --ignore-path .gitignore --check \"**/*.+(ts|json)\"",
"dev": "concurrently \"vite\" \"yarn watch-processout\"",
"watch-processout": "tsc-watch -p src/processout --onSuccess 'yarn append-dev-metadata'",
"append-dev-metadata": "yarn append-debug-mode && yarn append-version && yarn append-debug-host",
"append-debug-mode": "node scripts/append-script-metadata.js --debug",
"append-debug-host": "node scripts/append-script-metadata.js --debug-host",
"append-version": "node scripts/append-script-metadata.js --version",
"bump-version": "yarn version"
},
"devDependencies": {
"@eslint/js": "^9.19.0",
"@typescript-eslint/eslint-plugin": "^8.23.0",
"@typescript-eslint/parser": "^8.23.0",
"concurrently": "^9.1.2",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.0.1",
"globals": "^15.14.0",
"husky": "^9.1.7",
"lint-staged": "^15.4.3",
"prettier": "^3.4.2",
"tsc-watch": "^6.2.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.23.0",
"uglify-js": "3.8.0",
"vite": "^6.1.0"
},
"lint-staged": {
"*.{ts,json}": "eslint --cache --fix --no-warn-ignored"
}
}