1 | {
|
2 | "name": "react-pivottable",
|
3 | "version": "0.4.0",
|
4 | "description": "A React-based pivot table",
|
5 | "main": "PivotTableUI.js",
|
6 | "files": [
|
7 | "PivotTable.js",
|
8 | "PivotTableUI.js",
|
9 | "PlotlyRenderers.js",
|
10 | "TableRenderers.js",
|
11 | "Utilities.js",
|
12 | "PivotTable.js.map",
|
13 | "PivotTableUI.js.map",
|
14 | "PlotlyRenderers.js.map",
|
15 | "TableRenderers.js.map",
|
16 | "Utilities.js.map",
|
17 | "pivottable.css"
|
18 | ],
|
19 | "scripts": {
|
20 | "start": "webpack-dev-server",
|
21 | "test:eslint": "eslint src/*.js* && echo 'eslint: \\033[0;32m'PASS'\\033[0m'",
|
22 | "test:eslint:fix": "eslint src/*.js* --fix",
|
23 | "test:prettier": "prettier -l \"src/*.js*\" && echo 'prettier: \\033[0;32m'PASS'\\033[0m'",
|
24 | "test:prettier:fix": "prettier --write \"src/*.js*\"",
|
25 | "test:jest": "jest",
|
26 | "test": "npm run test:eslint && npm run test:prettier && npm run test:jest",
|
27 | "clean": "rm -f PivotTable.js* PivotTableUI.js* PlotlyRenderers.js* TableRenderers.js* Utilities.js* pivottable.css",
|
28 | "doPublish": "npm run clean && cp src/pivottable.css . && babel src --out-dir=. --source-maps --presets=env,react --plugins babel-plugin-add-module-exports && npm publish",
|
29 | "postpublish": "npm run clean",
|
30 | "deploy": "webpack -p && mv bundle.js examples && cd examples && git init && git add . && git commit -m build && git push --force git@github.com:plotly/react-pivottable.git master:gh-pages && rm -rf .git bundle.js"
|
31 | },
|
32 | "repository": {
|
33 | "type": "git",
|
34 | "url": "git+https://github.com/plotly/react-pivottable.git"
|
35 | },
|
36 | "keywords": [
|
37 | "react",
|
38 | "pivottable"
|
39 | ],
|
40 | "author": "Nicolas Kruchten <nicolas@kruchten.com>",
|
41 | "license": "MIT",
|
42 | "bugs": {
|
43 | "url": "https://github.com/plotly/react-pivottable/issues"
|
44 | },
|
45 | "homepage": "https://github.com/plotly/react-pivottable#readme",
|
46 | "dependencies": {
|
47 | "immutability-helper": "^2.3.1",
|
48 | "prop-types": "^15.5.10",
|
49 | "react-draggable": "^3.0.3",
|
50 | "react-sortablejs": "^1.3.4",
|
51 | "sortablejs": "^1.6.1"
|
52 | },
|
53 | "peerDependencies": {
|
54 | "react": ">=15.0.0",
|
55 | "react-dom": ">=15.0.0"
|
56 | },
|
57 | "devDependencies": {
|
58 | "babel-cli": "^6.26.0",
|
59 | "babel-eslint": "^7.2.3",
|
60 | "babel-loader": "^7.1.2",
|
61 | "babel-plugin-add-module-exports": "^0.2.1",
|
62 | "babel-preset-env": "^1.6.1",
|
63 | "babel-preset-react": "^6.24.1",
|
64 | "css-loader": "^0.28.7",
|
65 | "eslint": "^4.5.0",
|
66 | "eslint-config-prettier": "^2.8.0",
|
67 | "eslint-plugin-import": "^2.7.0",
|
68 | "eslint-plugin-react": "^7.3.0",
|
69 | "jest": "^21.2.1",
|
70 | "papaparse": "^4.3.6",
|
71 | "prettier": "^1.8.2",
|
72 | "react": ">=15.0.0",
|
73 | "react-dom": ">=15.0.0",
|
74 | "react-dropzone": "^4.2.1",
|
75 | "react-hot-loader": "^3.1.1",
|
76 | "react-plotly.js": "^2.0.0",
|
77 | "style-loader": "^0.19.0",
|
78 | "webpack": "^3.8.1",
|
79 | "webpack-dev-server": "^2.9.3"
|
80 | }
|
81 | }
|