-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
96 lines (96 loc) · 2.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
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
90
91
92
93
94
95
96
{
"name": "@buttercup/react-formatted-input",
"version": "1.4.0",
"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",
"build-storybook": "build-storybook",
"format": "prettier --write '{source,test}/**/*.js'",
"prepublish": "npm run build",
"storybook": "start-storybook -p 6006",
"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"
]
},
"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.12.1",
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
"@storybook/addon-actions": "^6.0.26",
"@storybook/addon-essentials": "^6.0.26",
"@storybook/addon-links": "^6.0.26",
"@storybook/react": "^6.0.26",
"babel-jest": "^26.6.0",
"babel-loader": "^8.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"husky": "^4.3.0",
"jest": "^26.6.0",
"jest-enzyme": "^7.1.2",
"lint-staged": "^10.4.2",
"prettier": "^1.19.1",
"prettier-check": "^2.0.0",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-is": "^16.13.1",
"react-json-renderer": "^0.6.0",
"react-test-renderer": "^16.14.0"
},
"dependencies": {
"is-regex": "^1.1.1",
"prop-types": "^15.7.2"
},
"jest": {
"testRegex": "\\.spec\\.js$",
"testEnvironment": "enzyme",
"testEnvironmentOptions": {
"enzymeAdapter": "react16"
},
"setupFilesAfterEnv": [
"jest-enzyme"
],
"unmockedModulePathPatterns": [
"react",
"enzyme",
"jest-enzyme"
]
}
}