This repository has been archived by the owner on Jun 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
62 lines (62 loc) · 2.26 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
{
"name": "d3-let",
"version": "0.4.0",
"description": "A small set of utilities for d3 plugins",
"homepage": "https://github.com/quantmind/d3-let",
"author": {
"name": "Luca Sbardella",
"url": "http://lucasbardella.com"
},
"keywords": [
"d3",
"d3-module",
"utilities"
],
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/quantmind/d3-let.git"
},
"main": "build/d3-let.js",
"module": "index",
"jsnext:main": "index",
"devDependencies": {
"babel-core": "6.26",
"babel-eslint": "8.2",
"babel-plugin-external-helpers": "6.22",
"babel-preset-env": "1.6",
"babel-preset-es2015-rollup": "3.0",
"babel-tape-runner": "2",
"babelify": "8",
"covert": "1.1",
"eslint": "4.15",
"faucet": "0.0",
"package-preamble": "0.1",
"publish": "0.6",
"rollup": "0.54",
"rollup-plugin-babel": "3.0",
"rollup-plugin-commonjs": "8.2",
"rollup-plugin-json": "2",
"rollup-plugin-node-resolve": "3.0",
"tape": "4",
"tape-async": "2.3",
"uglify-js": "3.3"
},
"scripts": {
"test": "eslint index.js rollup.config.js src test && babel-tape-runner `find test -name '*-test.js'` | faucet",
"rollup": "rollup -c --banner \"$(preamble)\"",
"minify": "uglifyjs --preamble \"$(preamble)\" build/d3-let.js -c -m -o build/d3-let.min.js",
"build": "npm run-script rollup && npm run-script minify",
"prepublish": "npm run-script rollup && npm run-script minify",
"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-let/${VERSION} && cp build/* ../giottojs.org/d3-let/${VERSION}/ && cp build/* ../giottojs.org/latest/ && cd ../giottojs.org && git add d3-let/${VERSION} latest && git commit -a -m \"d3-let ${VERSION}\" && git push",
"release": "publish"
},
"babel": {
"presets": [
"env"
],
"plugins": [
"transform-async-to-generator"
]
}
}