-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
107 lines (107 loc) · 2.76 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
97
98
99
100
101
102
103
104
105
106
107
{
"name": "react-input-files",
"version": "1.2.0",
"typings": "./index.d.ts",
"main": "lib/index.js",
"module": "es/index.js",
"sideEffects": false,
"files": [
"es",
"lib",
"index.d.ts"
],
"scripts": {
"build": "hsu-scripts build src",
"build-storybook": "build-storybook",
"test": "NODE_ENV='test' jest --coverage",
"test:watch": "npm run test -- --watch",
"start": "start-storybook -p 6006",
"eslint": "eslint ./",
"flow": "flow",
"flow-coverage": "hsu-scripts flow --threshold 76",
"precommit": "lint-staged",
"format": "prettier --write '**/*.{js,json,md,css,yaml,yml}' '*.{js,json,md,css,yaml,yml}'",
"changelog": "conventional-changelog --infile ./CHANGELOG.md --same-file --release-count 0 --output-unreleased"
},
"dependencies": {
"prop-types": "^15.7.1",
"react-portal": "^4.2.0"
},
"devDependencies": {
"@storybook/addon-actions": "4.2.0-alpha.8",
"@storybook/addon-info": "4.2.0-alpha.8",
"@storybook/addon-links": "4.2.0-alpha.8",
"@storybook/addon-options": "4.2.0-alpha.8",
"@storybook/addon-storyshots": "4.2.0-alpha.8",
"@storybook/react": "4.2.0-alpha.8",
"codecov": "3.2.0",
"conventional-changelog-cli": "2.0.12",
"enzyme": "3.9.0",
"enzyme-adapter-react-16": "1.10.0",
"enzyme-to-json": "3.3.5",
"eslint": "5.14.1",
"flow-bin": "0.93.0",
"hsu-scripts": "1.0.7",
"husky": "1.3.1",
"jest": "24.1.0",
"lint-staged": "8.1.4",
"prettier": "1.16.4",
"react": "16.8.3",
"react-dom": "16.8.3",
"react-test-renderer": "16.8.3"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/setupTests.js"
],
"collectCoverageFrom": [
"src/**/*.js",
"!src/**/*.test.js",
"!src/**/*.example.js"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/lib/",
"<rootDir>/es/"
],
"resetMocks": true,
"resetModules": true
},
"babel": {
"presets": [
"./node_modules/hsu-scripts/babel.js"
]
},
"eslintConfig": {
"extends": [
"./node_modules/hsu-scripts/eslint.js"
]
},
"lint-staged": {
"*.{js,json,md,css,yaml,yml}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"description": "Reusable React input file component.",
"author": "Michael Hsu <evenchange4@gmail.com>",
"license": "MIT",
"keywords": [
"react",
"input file"
],
"bugs": {
"url": "https://github.com/evenchange4/react-input-files/issues",
"email": "evenchange4@gmail.com"
},
"homepage": "https://github.com/evenchange4/react-input-files#readme",
"repository": {
"type": "git",
"url": "https://github.com/evenchange4/react-input-files.git"
}
}