forked from buttercup/react-formatted-input
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.52 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
89
{
"name": "@gsandf/buttercup-react-formatted-input",
"version": "1.2.1",
"description": "An input component that abides by configurable formatting and constraint rules",
"main": "dist/index.js",
"files": [
"dist/**/*.js"
],
"scripts": {
"build": "babel source --out-dir dist",
"format": "prettier --write '{source,test}/**/*.js'",
"prepublish": "npm run build",
"test": "npm run test:specs && npm run test:format",
"test:format": "prettier-check '{source,test}/**/*.js'",
"test:specs": "jest"
},
"lint-staged": {
"{source,test}/**/*.js": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/buttercup/react-formatted-input.git"
},
"keywords": [
"buttercup",
"react",
"input",
"format",
"constraint",
"data"
],
"author": "Perry Mitchell <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/buttercup/react-formatted-input/issues"
},
"homepage": "https://github.com/buttercup/react-formatted-input#readme",
"peerDependencies": {
"react": ">= 15.0.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.3",
"@babel/plugin-proposal-class-properties": "^7.3.3",
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"babel-jest": "^24.1.0",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.9.1",
"husky": "^1.3.1",
"jest": "^24.1.0",
"jest-enzyme": "^7.0.1",
"lint-staged": "^8.1.4",
"prettier": "^1.16.4",
"prettier-check": "^2.0.0",
"react": "^16.8.2",
"react-dom": "^16.8.2",
"react-json-renderer": "^0.6.0",
"react-test-renderer": "^16.8.2"
},
"dependencies": {
"is-regex": "^1.0.4",
"prop-types": "^15.7.2"
},
"jest": {
"testRegex": "\\.spec\\.js$",
"testEnvironment": "enzyme",
"testEnvironmentOptions": {
"enzymeAdapter": "react16"
},
"setupFilesAfterEnv": [
"jest-enzyme"
],
"unmockedModulePathPatterns": [
"react",
"enzyme",
"jest-enzyme"
]
}
}