-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
36 lines (36 loc) · 1.51 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
{
"name": "processout.js",
"version": "1.0.0",
"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 scripts/processout.js -o scripts/processout.js",
"build:modal": "tsc -p src/modal && uglifyjs --compress --keep-fnames --ie8 scripts/modal.js -o scripts/modal.js",
"build:test": "yarn build && yarn processout:debug",
"build": "yarn build:processout & yarn build:modal",
"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)\"",
"processout:debug": "echo 'ProcessOut.DEBUG = true;' >> scripts/processout.js && echo 'ProcessOut.DEBUG = true;' >> scripts/modal.js",
"prepare": "husky"
},
"packageManager": "[email protected]+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610",
"devDependencies": {
"@eslint/js": "^9.19.0",
"@typescript-eslint/eslint-plugin": "^8.23.0",
"@typescript-eslint/parser": "^8.23.0",
"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",
"typescript": "^5.7.3",
"typescript-eslint": "^8.23.0",
"uglify-js": "3.8.0"
},
"lint-staged": {
"*.{ts,json}": "eslint --cache --fix --no-warn-ignored"
}
}