-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.3 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 2.3 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
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
{
"name": "@tonder.io/web-sdk",
"version": "0.1.8",
"description": "Browser SDK for accepting Tonder payments with secure card fields, saved cards, and alternative payment methods.",
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"files": [
"dist/index.cjs",
"dist/index.mjs",
"dist/index.d.ts",
"dist/tonder-web-sdk.js",
"dist/tonder-web-sdk.min.js"
],
"scripts": {
"build": "rollup -c",
"postbuild": "node scripts/check-dist-vocabulary.mjs && node scripts/check-dist-exports.mjs && npm run typecheck:public",
"typecheck:public": "tsc --noEmit -p type-tests/tsconfig.json",
"prepublishOnly": "npm run build",
"dev": "rollup -c -w",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json && tsc --noEmit -p e2e/tsconfig.json",
"pretest:e2e": "npm run build",
"test:e2e": "playwright test",
"test:artifact": "npm run build && node scripts/probe-mutation-hardening.mjs",
"lint": "eslint .",
"format": "prettier --write \"src/**/*.ts\" \"e2e/**/*.ts\" \"*.md\"",
"prepare": "husky",
"format:check": "prettier --check \"src/**/*.ts\" \"e2e/**/*.ts\" \"*.md\""
},
"engines": {
"node": ">=18"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/tonderio/web-sdk.git"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@playwright/test": "^1.61.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.1.1",
"@types/applepayjs": "^14.0.9",
"@types/node": "^26.0.1",
"@typescript-eslint/eslint-plugin": "^8.18.0",
"@typescript-eslint/parser": "^8.18.0",
"eslint": "^9.17.0",
"husky": "^9.1.7",
"jsdom": "^29.1.1",
"lint-staged": "^15.5.2",
"prettier": "^3.4.2",
"rollup": "^4.28.1",
"rollup-plugin-dts": "^6.1.1",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.0",
"vitest": "^4.1.9"
},
"lint-staged": {
"*.{ts,tsx,js,mjs,json,md}": "prettier --write"
}
}