forked from esbullington/react-d3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.25 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.25 KB
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
{
"name": "react-d3",
"version": "0.1.8",
"description": "ReactJS charts using d3",
"author": "Eric S. Bullington",
"homepage": "http://esbullington.github.io/react-d3/",
"keywords": [
"d3",
"react",
"charts",
"ReactJS",
"react-component"
],
"license": "MIT",
"main": "src/index.js",
"browser": "build/cjs/index.js",
"devDependencies": {
"browserify": "~6.3.3",
"chai": "^1.10.0",
"express": "^4.10.4",
"glob": "^4.3.5",
"handlebars": "^2.0.0",
"highlight.js": "^8.4.0",
"karma": "^0.12.28",
"karma-browserify": "^1.0.0",
"karma-chai": "^0.1.0",
"karma-chai-plugins": "^0.2.3",
"karma-chrome-launcher": "^0.1.5",
"karma-firefox-launcher": "^0.1.3",
"karma-mocha": "^0.1.9",
"karma-phantomjs-launcher": "^0.1.4",
"mocha": "^2.0.1",
"nodemon": "^1.2.1",
"reactify": "^0.17.1",
"uglify-js": "^2.3.6",
"watchify": "^2.1.1"
},
"dependencies": {
"d3": "^3.4.13",
"react": "^0.12.1"
},
"scripts": {
"env": "env",
"watch": "npm run docs && watchify -o build/public/js/main.js docs/examples/main.js --extension='.jsx' & nodemon server.js",
"docs": "mkdir -p build && cp -r dist/public build && browserify -o build/public/js/main.js --extension='.jsx' docs/examples/main.js",
"minified": "npm run build && NODE_ENV=production browserify -t [ reactify --es6 ] --standalone rd3 ./build/cjs/index.js | uglifyjs -c > dist/public/js/react-d3.min.js",
"build": "mkdir -p ./build/cjs && cp *.md ./build/cjs && cp .npmignore ./build/cjs && node scripts/build.js && jsx --harmony -x jsx ./src ./build/cjs && jsx --harmony ./src ./build/cjs",
"clean": "rm -f ./build/cjs/*.js",
"lint": "jsxhint src/* tests/* || true",
"test": "./node_modules/karma/bin/karma start karma.conf.js"
},
"repository": {
"type": "git",
"url": "https://github.com/esbullington/react-d3.git"
},
"jshintConfig": {
"browserify": true,
"expr": true,
"esnext": true,
"globals": {
"describe": false,
"it": false,
"before": false,
"beforeEach": false,
"after": false,
"afterEach": false
}
},
"browserify": {
"transform": [
[
"reactify",
{
"es6": true
}
]
]
}
}