UNPKG

1.21 kBJSONView Raw
1{
2 "name": "@braintree/sanitize-url",
3 "version": "6.0.2",
4 "description": "A url sanitizer",
5 "main": "dist/index.js",
6 "types": "dist/index.d.ts",
7 "author": "",
8 "scripts": {
9 "prepublishOnly": "npm run build",
10 "prebuild": "prettier --write .",
11 "build": "tsc --declaration",
12 "lint": "eslint --ext js,ts .",
13 "posttest": "npm run lint",
14 "test": "jest"
15 },
16 "repository": {
17 "type": "git",
18 "url": "git+https://github.com/braintree/sanitize-url.git"
19 },
20 "keywords": [],
21 "license": "MIT",
22 "bugs": {
23 "url": "https://github.com/braintree/sanitize-url/issues"
24 },
25 "homepage": "https://github.com/braintree/sanitize-url#readme",
26 "devDependencies": {
27 "@types/jest": "^27.4.1",
28 "@typescript-eslint/eslint-plugin": "^5.19.0",
29 "chai": "^4.3.6",
30 "eslint": "^8.13.0",
31 "eslint-config-braintree": "^6.0.0-typescript-prep-rc.2",
32 "eslint-plugin-prettier": "^4.0.0",
33 "jest": "^27.5.1",
34 "prettier": "^2.6.2",
35 "ts-jest": "^27.1.4",
36 "typescript": "^4.6.3"
37 },
38 "jest": {
39 "testEnvironment": "jsdom",
40 "preset": "ts-jest",
41 "globals": {
42 "ts-jest": {
43 "tsconfig": "src/__tests__/tsconfig.json"
44 }
45 }
46 }
47}