-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
88 lines (88 loc) · 2.8 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
84
85
86
87
88
{
"name": "restricted-input",
"version": "4.0.1",
"description": "Restrict inputs to certain valid characters (e.g. formatting phone or card numbers)",
"author": "Braintree <[email protected]> (https://www.braintreepayments.com/)",
"license": "MIT",
"main": "dist/main.js",
"files": [
"dist",
"supports-input-formatting.js"
],
"homepage": "https://github.com/braintree/restricted-input",
"repository": {
"type": "git",
"url": "git://github.com/braintree/restricted-input.git"
},
"bugs": "https://github.com/braintree/restricted-input/issues",
"keywords": [
"input",
"formatting",
"filtering",
"text",
"spacing",
"restrict"
],
"scripts": {
"prebuild": "prettier --write .",
"build": "tsc --declaration",
"build:app": "mkdir -p dist-app; browserify ./src/main.ts -p [ tsify --strict ] -o dist-app/restricted-input.js -s RestrictedInput -v",
"predoc": "npm run build",
"doc": "jsdoc -r -R README.md -d jsdoc dist/lib/",
"doc:watch": "npm run doc && chokidar 'src/lib/**/*.ts' -c 'npm run doc'",
"prestart": "npm run build:app",
"start": "node ./test/support/server.js",
"development": "npm start & chokidar 'src/lib/**/*.ts' -c 'npm run build:app; echo $(tput setaf 2)rebuilt$(tput sgr0)'",
"lint": "eslint --ext js,ts src test",
"posttest": "npm run lint",
"test": "npm run test:unit",
"test:watch": "jest --watchAll",
"test:unit": "jest test/unit",
"test:integration": "wdio wdio.conf.js",
"test:all": "npm run test && npm run test:integration",
"publish:demo": "./publish-gh-pages.sh",
"prepublishOnly": "npm run build && npm run build:app",
"postpublish": "npm run publish:demo"
},
"dependencies": {
"@braintree/browser-detection": "^1.17.2"
},
"devDependencies": {
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@wdio/browserstack-service": "^7.32.4",
"@wdio/cli": "^7.32.4",
"@wdio/local-runner": "^7.32.4",
"@wdio/mocha-framework": "^7.19.3",
"@wdio/spec-reporter": "^7.31.1",
"@wdio/sync": "^7.19.4",
"browserify": "^17.0.0",
"browserstack-local": "^1.5.4",
"chai": "^4.3.7",
"chokidar-cli": "^3.0.0",
"dotenv": "^16.3.1",
"eslint": "^8.47.0",
"eslint-config-braintree": "^6.0.0-typescript-prep-rc.2",
"eslint-plugin-prettier": "^4.2.1",
"express": "^4.18.2",
"jest": "^29.6.3",
"jest-environment-jsdom": "^29.6.3",
"jsdoc": "^4.0.2",
"prettier": "^2.8.8",
"ts-jest": "^29.1.1",
"tsify": "^5.0.4",
"typescript": "^5.1.6",
"uuid": "^9.0.0",
"webdriverio": "^7.32.4"
},
"jest": {
"testEnvironment": "jsdom",
"preset": "ts-jest",
"setupFilesAfterEnv": [
"./test/unit/global.ts"
],
"testPathIgnorePatterns": [
"<rootDir>/dist"
]
}
}