1 | {
|
2 | "version": "1.5.2",
|
3 | "name": "d3-view",
|
4 | "description": "View-model d3 plugin for building interactive data-driven web interfaces",
|
5 | "author": {
|
6 | "name": "quantmind.com",
|
7 | "email": "message@quantmind.com"
|
8 | },
|
9 | "keywords": [
|
10 | "d3",
|
11 | "d3-module",
|
12 | "reactive"
|
13 | ],
|
14 | "license": "BSD-3-Clause",
|
15 | "repository": {
|
16 | "type": "git",
|
17 | "url": "https://github.com/quantmind/d3-view.git"
|
18 | },
|
19 | "engines": {
|
20 | "node": ">= 6.0"
|
21 | },
|
22 | "main": "build/d3-view.js",
|
23 | "unpkg": "build/d3-view.min.js",
|
24 | "jsdelivr": "build/d3-view.min.js",
|
25 | "module": "index",
|
26 | "bin": {
|
27 | "view-require": "bin/view-require"
|
28 | },
|
29 | "dependencies": {
|
30 | "commander": "2.18",
|
31 | "d3-let": "0",
|
32 | "d3-transition": "1.1"
|
33 | },
|
34 | "devDependencies": {
|
35 | "@babel/core": "latest",
|
36 | "@babel/plugin-proposal-object-rest-spread": "latest",
|
37 | "@babel/preset-env": "latest",
|
38 | "babel-core": "7.0.0-bridge.0",
|
39 | "babel-eslint": "10.0",
|
40 | "babel-jest": "23",
|
41 | "babel-plugin-istanbul": "5.0",
|
42 | "babel-polyfill": "6.26",
|
43 | "babelify": "10.0",
|
44 | "browserify": "16.2",
|
45 | "browserify-istanbul": "3.0",
|
46 | "eslint": "5.6",
|
47 | "handlebars": "4",
|
48 | "jasmine-core": "3.2",
|
49 | "jest": "23",
|
50 | "jsdom": "12",
|
51 | "publish": "0.6",
|
52 | "rollup": "0.66",
|
53 | "rollup-plugin-commonjs": "9.1",
|
54 | "rollup-plugin-json": "3.1",
|
55 | "rollup-plugin-node-resolve": "3.4",
|
56 | "rollup-plugin-sourcemaps": "0.4",
|
57 | "rollup-plugin-terser": "3",
|
58 | "rollup-watch": "4.3",
|
59 | "validator": "10.8",
|
60 | "watchify": "3.11",
|
61 | "whatwg-fetch": "3.0"
|
62 | },
|
63 | "scripts": {
|
64 | "pretest": "rollup -c && chmod +x bin/view-require",
|
65 | "lint": "eslint *.js test src packages website",
|
66 | "test": "jest -c test/config/jest.config.json --coverage --detectOpenHandles --forceExit",
|
67 | "unit": "jest -c test/config/jest.config.json",
|
68 | "test:require": "./bin/view-require -h",
|
69 | "watch": "rollup -c -w",
|
70 | "docs": "doctoc website/docs/",
|
71 | "asset": "cd build && POST https://<upload_url>/repos/quantmind/d3-view/releases/:id/assets?name=d3-view.zip",
|
72 | "prepublishOnly": "rm -rf build && yarn test",
|
73 | "postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git tag -am \"Release $VERSION.\" v${VERSION} && git push --tags && mkdir -p ../giottojs.org/latest && mkdir -p ../giottojs.org/d3-view/${VERSION} && cp build/* ../giottojs.org/d3-view/${VERSION}/ && cp build/* ../giottojs.org/latest/ && cd ../giottojs.org && git add d3-view/${VERSION} latest && git commit -a -m \"d3-view ${VERSION}\" && git push",
|
74 | "release": "publish"
|
75 | }
|
76 | }
|