This repository has been archived by the owner on Jul 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
76 lines (76 loc) · 2.52 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
{
"version": "1.5.2",
"name": "d3-view",
"description": "View-model d3 plugin for building interactive data-driven web interfaces",
"author": {
"name": "quantmind.com",
"email": "message@quantmind.com"
},
"keywords": [
"d3",
"d3-module",
"reactive"
],
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/quantmind/d3-view.git"
},
"engines": {
"node": ">= 6.0"
},
"main": "build/d3-view.js",
"unpkg": "build/d3-view.min.js",
"jsdelivr": "build/d3-view.min.js",
"module": "index",
"bin": {
"view-require": "bin/view-require"
},
"dependencies": {
"commander": "2.18",
"d3-let": "0",
"d3-transition": "1.1"
},
"devDependencies": {
"@babel/core": "latest",
"@babel/plugin-proposal-object-rest-spread": "latest",
"@babel/preset-env": "latest",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.0",
"babel-jest": "23",
"babel-plugin-istanbul": "5.0",
"babel-polyfill": "6.26",
"babelify": "10.0",
"browserify": "16.2",
"browserify-istanbul": "3.0",
"eslint": "5.6",
"handlebars": "4",
"jasmine-core": "3.2",
"jest": "23",
"jsdom": "12",
"publish": "0.6",
"rollup": "0.66",
"rollup-plugin-commonjs": "9.1",
"rollup-plugin-json": "3.1",
"rollup-plugin-node-resolve": "3.4",
"rollup-plugin-sourcemaps": "0.4",
"rollup-plugin-terser": "3",
"rollup-watch": "4.3",
"validator": "10.8",
"watchify": "3.11",
"whatwg-fetch": "3.0"
},
"scripts": {
"pretest": "rollup -c && chmod +x bin/view-require",
"lint": "eslint *.js test src packages website",
"test": "jest -c test/config/jest.config.json --coverage --detectOpenHandles --forceExit",
"unit": "jest -c test/config/jest.config.json",
"test:require": "./bin/view-require -h",
"watch": "rollup -c -w",
"docs": "doctoc website/docs/",
"asset": "cd build && POST https://<upload_url>/repos/quantmind/d3-view/releases/:id/assets?name=d3-view.zip",
"prepublishOnly": "rm -rf build && yarn test",
"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",
"release": "publish"
}
}