-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
83 lines (83 loc) · 2.33 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
{
"name": "react-json-to-csv",
"version": "1.2.0",
"description": "A react button component to easily generate csv downloads of your json data.",
"main": "dist/index.js",
"files": [
"dist/index.js"
],
"author": "Coston Perkins <[email protected]> (https://coston.io)",
"homepage": "https://github.com/coston/react-json-to-csv",
"repository": {
"type": "git",
"url": "https://github.com/coston/react-json-to-csv.git"
},
"bugs": {
"url": "https://github.com/coston/react-json-to-csv/issues"
},
"license": "MIT",
"scripts": {
"dev": "mdx-go docs && npm run watch",
"docs": "mdx-go build docs -d public",
"build": "babel -d dist src --copy-files",
"clean": "rm -rf dist && mkdir dist",
"watch": "babel -w -d dist src --copy-files",
"format": "prettier --trailing-comma es5 --no-semi --single-quote --write 'src/**/*.js'",
"start": "npm run build; npm run dev",
"preversion": "npm run test && npm run format && npm run clean && npm run build && npm run docs",
"postpublish": "git push && git push --tag",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls"
},
"jest": {
"setupFiles": [
"./test/jestsetup.js"
],
"testURL": "http://localhost/",
"collectCoverage": true,
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"moduleNameMapper": {
"^.+\\.(css|scss)$": "identity-obj-proxy"
}
},
"devDependencies": {
"@babel/cli": "7.21.0",
"@babel/core": "7.21.4",
"@babel/plugin-transform-spread": "7.20.7",
"@babel/preset-env": "7.21.4",
"@babel/preset-react": "7.18.6",
"core-js": "3.29.1",
"coveralls": "3.1.1",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.7",
"enzyme-to-json": "3.6.2",
"identity-obj-proxy": "3.0.0",
"instant-table": "3.0.0",
"jest": "29.4.3",
"mdx-go": "2.0.0-32",
"prettier": "2.8.4",
"prop-types": "15.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-live": "3.1.2",
"react-test-renderer": "18.2.0"
},
"keywords": [
"react",
"react-component",
"json",
"csv",
"button",
"download"
],
"directories": {
"test": "test"
},
"dependencies": {
"json-to-csv-export": "2.1.1"
}
}