Skip to content

Commit a55d96c

Browse files
committed
Add prettier
1 parent ec379f7 commit a55d96c

File tree

2 files changed

+1504
-1015
lines changed

2 files changed

+1504
-1015
lines changed

package.json

Lines changed: 94 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,96 @@
11
{
2-
"name": "react-timeseries-charts",
3-
"version": "0.12.5",
4-
"description": "Declarative timeseries charts",
5-
"keywords": [
6-
"d3",
7-
"charts",
8-
"react",
9-
"timeseries"
10-
],
11-
"homepage": "http://software.es.net/react-timeseries-charts",
12-
"main": "lib/entry",
13-
"author": "ESnet Tools Team <tools@es.net>",
14-
"repository": "esnet/react-timeseries-charts",
15-
"bugs": {
16-
"url": "https://github.com/esnet/react-timeseries-charts/issues"
17-
},
18-
"scripts": {
19-
"docs": "echo \"*** Building API docs\n\" && react-docgen src/components -x js -o src/website/api/docs.json --pretty",
20-
"lint": "eslint src/components/*.js",
21-
"test": "npm run lint",
22-
"build": "echo \"*** Building lib\n\" && rm -rf lib/* && babel src/components --optional runtime --stage 0 --out-dir lib/components && babel src/js --optional runtime --stage 0 --out-dir lib/js && babel src/entry.js --optional runtime --stage 0 --out-file lib/entry.js",
23-
"start-website": "react-scripts start",
24-
"build-website": "echo \"*** Building website\n\" && rm -rf docs && react-scripts build && mv build docs"
25-
},
26-
"pre-commit": [
27-
"lint",
28-
"build"
29-
],
30-
"license": "BSD-3-Clause-LBNL",
31-
"dependencies": {
32-
"array.prototype.fill": "^1.0.1",
33-
"babel-runtime": "^6.5.0",
34-
"colorbrewer": "^1.0.0",
35-
"d3-axis": "^1.0.4",
36-
"d3-ease": "^1.0.2",
37-
"d3-format": "^1.0.2",
38-
"d3-interpolate": "^1.1.3",
39-
"d3-scale": "^1.0.4",
40-
"d3-scale-chromatic": "^1.1.0",
41-
"d3-selection": "^1.0.3",
42-
"d3-shape": "^1.0.4",
43-
"d3-time": "^1.0.4",
44-
"d3-time-format": "^2.0.3",
45-
"d3-transition": "^1.0.3",
46-
"flexbox-react": "^4.3.3",
47-
"invariant": "^2.1.1",
48-
"merge": "^1.2.0",
49-
"moment": "^2.8.4",
50-
"moment-duration-format": "^1.3.0",
51-
"prop-types": "^15.5.10",
52-
"underscore": "^1.7.0"
53-
},
54-
"devDependencies": {
55-
"babel-cli": "^6.5.1",
56-
"babel-core": "^6.5.2",
57-
"babel-eslint": "7.0.0",
58-
"babel-polyfill": "^6.23.0",
59-
"babel-preset-es2015": "^6.5.0",
60-
"babel-preset-react": "^6.5.0",
61-
"babel-preset-stage-0": "^6.5.0",
62-
"dsv-loader": "^2.0.0",
63-
"eslint": "3.8.1",
64-
"eslint-config-react-app": "^0.5.0",
65-
"eslint-plugin-babel": "^3.3.0",
66-
"eslint-plugin-flowtype": "2.21.0",
67-
"eslint-plugin-import": "2.0.1",
68-
"eslint-plugin-jsx-a11y": "2.2.3",
69-
"eslint-plugin-react": "6.4.1",
70-
"pondjs": "^0.8.4",
71-
"raw-loader": "^0.5.1",
72-
"react": "^15.3.1",
73-
"react-docgen": "^2.9.1",
74-
"react-dom": "^15.3.1",
75-
"react-markdown": "^2.4.4",
76-
"react-router": "^2.6.1",
77-
"react-scripts": "0.2.1",
78-
"react-select": "^1.0.0-beta14",
79-
"ringjs": "0.0.1"
80-
},
81-
"peerDependencies": {
82-
"pondjs": "^0.8.0",
83-
"react": "^15.3.1"
84-
}
2+
"name": "react-timeseries-charts",
3+
"version": "0.12.5",
4+
"description": "Declarative timeseries charts",
5+
"keywords": [
6+
"d3",
7+
"charts",
8+
"react",
9+
"timeseries"
10+
],
11+
"homepage": "http://software.es.net/react-timeseries-charts",
12+
"main": "lib/entry",
13+
"author": "ESnet Tools Team <tools@es.net>",
14+
"repository": "esnet/react-timeseries-charts",
15+
"bugs": {
16+
"url": "https://github.com/esnet/react-timeseries-charts/issues"
17+
},
18+
"scripts": {
19+
"docs": "echo \"*** Building API docs\n\" && react-docgen src/components -x js -o src/website/api/docs.json --pretty",
20+
"lint": "eslint src/components/*.js",
21+
"test": "npm run lint",
22+
"build": "echo \"*** Building lib\n\" && rm -rf lib/* && babel src/components --optional runtime --stage 0 --out-dir lib/components && babel src/js --optional runtime --stage 0 --out-dir lib/js && babel src/entry.js --optional runtime --stage 0 --out-file lib/entry.js",
23+
"start-website": "react-scripts start",
24+
"build-website": "echo \"*** Building website\n\" && rm -rf docs && react-scripts build && mv build docs",
25+
"precommit": "lint-staged",
26+
"prettier": "prettier --print-width 100 --tab-width 4 --write \"./src/**/*.js\""
27+
},
28+
"lint-staged": {
29+
"*.js": [
30+
"prettier --print-width 100 --tab-width 4 --write",
31+
"git add"
32+
]
33+
},
34+
"pre-commit": [
35+
"lint",
36+
"build"
37+
],
38+
"license": "BSD-3-Clause-LBNL",
39+
"dependencies": {
40+
"array.prototype.fill": "^1.0.1",
41+
"babel-runtime": "^6.5.0",
42+
"colorbrewer": "^1.0.0",
43+
"d3-axis": "^1.0.8",
44+
"d3-ease": "^1.0.3",
45+
"d3-format": "^1.2.0",
46+
"d3-interpolate": "^1.1.5",
47+
"d3-scale": "^1.0.6",
48+
"d3-scale-chromatic": "^1.1.1",
49+
"d3-selection": "^1.1.0",
50+
"d3-shape": "^1.2.0",
51+
"d3-time": "^1.0.7",
52+
"d3-time-format": "^2.0.5",
53+
"d3-transition": "^1.1.0",
54+
"flexbox-react": "^4.3.3",
55+
"invariant": "^2.1.1",
56+
"merge": "^1.2.0",
57+
"moment": "^2.18.1",
58+
"moment-duration-format": "^1.3.0",
59+
"prop-types": "^15.5.10",
60+
"underscore": "^1.8.3"
61+
},
62+
"devDependencies": {
63+
"babel-cli": "^6.5.1",
64+
"babel-core": "^6.5.2",
65+
"babel-eslint": "7.0.0",
66+
"babel-polyfill": "^6.23.0",
67+
"babel-preset-es2015": "^6.5.0",
68+
"babel-preset-react": "^6.5.0",
69+
"babel-preset-stage-0": "^6.5.0",
70+
"dsv-loader": "^2.0.0",
71+
"eslint": "3.8.1",
72+
"eslint-config-react-app": "^0.5.0",
73+
"eslint-plugin-babel": "^3.3.0",
74+
"eslint-plugin-flowtype": "2.21.0",
75+
"eslint-plugin-import": "2.0.1",
76+
"eslint-plugin-jsx-a11y": "2.2.3",
77+
"eslint-plugin-react": "6.4.1",
78+
"husky": "^0.13.3",
79+
"lint-staged": "^3.4.0",
80+
"pondjs": "^0.8.6",
81+
"prettier": "^0.22.0",
82+
"raw-loader": "^0.5.1",
83+
"react": "^15.6.1",
84+
"react-docgen": "^2.9.1",
85+
"react-dom": "^15.3.1",
86+
"react-markdown": "^2.4.4",
87+
"react-router": "^2.6.1",
88+
"react-scripts": "0.2.1",
89+
"react-select": "^1.0.0-beta14",
90+
"ringjs": "0.0.1"
91+
},
92+
"peerDependencies": {
93+
"pondjs": "^0.8.0",
94+
"react": "^15.3.1"
95+
}
8596
}

0 commit comments

Comments
 (0)