-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.74 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
{
"name": "file-drag-drop",
"version": "0.1.0",
"private": true,
"main": "index.js",
"module": "dist/file-drag-drop.mjs",
"dependencies": {
"@babel/core": "^7.13.14",
"@babel/preset-env": "^7.13.12",
"@babel/preset-react": "^7.13.13",
"@rollup/plugin-replace": "^2.4.2",
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "12.8.1",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-async-to-promises": "^0.8.15",
"cross-env": "^7.0.3",
"prettier": "^2.2.1",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-scripts": "4.0.3",
"rollup": "^2.45.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-generate-package-json": "^3.2.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-size": "^0.2.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^4.0.4",
"styled-components": "5.2.1",
"web-vitals": "1.1.0"
},
"scripts": {
"test:dev": "jest --watch",
"test:ci": "jest -c jest.config.js --no-cache --passWithNoTests",
"test:coverage": "yarn test:ci; open coverage/lcov-report/index.html",
"build": "cross-env NODE_ENV=production rollup -c",
"start": "rollup -c -w",
"prepare": "npm run build",
"prepublishOnly": "npm run test:ci && npm run format",
"release": "npm publish",
"releaseNext": "npm publish --tag next",
"format": "prettier {src,src/**,example/src,example/src/**}/*.{md,js,jsx,tsx} --write"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"files": [
"dist",
"scripts"
]
}