-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
115 lines (115 loc) · 3.55 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
108
109
110
111
112
113
114
115
{
"name": "react-butterfiles",
"version": "0.0.0-development",
"description": "A component for building file upload fields of any type.",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/doitadrian/react-butterfiles.git"
},
"author": "Adrian Smijulj",
"license": "MIT",
"bugs": {
"url": "https://github.com/doitadrian/react-butterfiles/issues"
},
"keywords": [
"react",
"files",
"drag and drop",
"file field",
"dropzone",
"images",
"image gallery"
],
"homepage": "https://github.com/doitadrian/react-butterfiles#readme",
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.2.3",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.2.3",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@storybook/addon-actions": "^4.1.2",
"@storybook/addon-knobs": "^4.1.3",
"@storybook/addon-links": "^4.1.2",
"@storybook/addons": "^4.1.2",
"@storybook/react": "^4.1.2",
"all-contributors-cli": "^5.6.0",
"babel-core": "^7.0.0-0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"concurrently": "^4.1.0",
"coveralls": "^3.0.2",
"cropperjs": "^1.4.3",
"css-loader": "^2.0.2",
"cypress": "^3.1.4",
"cz-conventional-changelog": "^2.1.0",
"emotion": "^10.0.5",
"eslint": "^5.11.1",
"eslint-plugin-cypress": "^2.2.0",
"eslint-plugin-flowtype": "^3.2.0",
"eslint-plugin-react": "^7.12.0",
"flow-bin": "^0.89.0",
"flow-copy-source": "^2.0.2",
"husky": "^1.3.1",
"jest": "^23.6.0",
"jest-dom": "^3.0.0",
"lint-staged": "^8.1.0",
"prettier": "^1.15.3",
"react-syntax-highlighter": "^10.1.2",
"react-testing-library": "^5.4.2",
"semantic-release": "^15.13.1",
"wait-on": "^3.2.0"
},
"peerDependencies": {
"react": ">=0.16.0"
},
"dependencies": {
"@babel/runtime": "^7.2.0",
"bytes": "^3.0.0"
},
"scripts": {
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"cypress:run": "cypress run",
"cypress:open": "cypress open",
"cz": "git-cz",
"build": "babel src --out-dir dist --source-maps --ignore **/*.test.js",
"postbuild": "npm run flow-copy-source",
"flow-copy-source": "flow-copy-source src dist --ignore **/*.test.js",
"test": "npm run test:jest:src",
"test:jest:src": "npx jest --config ./scripts/jest/config.src.js",
"test:jest:src:coverage": "npx jest --config ./scripts/jest/config.src.js --coverage --collectCoverageFrom=src/**/*.js",
"test:jest:src:coverage:coveralls": "npm run test:jest:src:coverage && cat ./coverage/lcov.info | coveralls",
"test:jest:dist": "npm run build && jest --config ./scripts/jest/config.dist.js --colors",
"test:cypress": "concurrently 'npm run storybook' 'wait-on http://localhost:6006 && npx cypress run' -k -s first",
"release": "npx semantic-release",
"lint-staged": "lint-staged",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate"
},
"pre-commit": [
"lint-staged"
],
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.js": [
"prettier --write",
"eslint --fix",
"flow focus-check",
"jest --config ./scripts/jest/config.src.js --findRelatedTests",
"git add"
]
}
}