-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
75 lines (75 loc) · 2.13 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
{
"name": "d3-czip",
"version": "1.0.1",
"description": "Generates a collection from multiple arrays",
"keywords": [
"d3",
"d3-module"
],
"license": "BSD-3-Clause",
"main": "build/d3-czip.js",
"jsnext:main": "build/jsnext/index.js",
"module": "build/jsnext/index.js",
"types": "build/types/index.d.ts",
"author": "Smartin Nematronic",
"homepage": "https://github.com/smartin85/d3-czip",
"repository": {
"type": "git",
"url": "https://github.com/smartin85/d3-czip.git"
},
"bugs": {
"url": "https://github.com/smartin85/d3-czip/issues"
},
"scripts": {
"clean": "rimraf build && mkdir build",
"tsc": "tsc",
"build": "tsc && rollup -c",
"build:watch": "run-p build:watch:*",
"build:watch:tsc": "tsc -w",
"build:watch:rollup": "rollup -c -w",
"pretest": "npm run clean && npm run build",
"test": "npm run test:coverage",
"test:tape": "ts-node -P test/tsconfig.json node_modules/tape/bin/tape test/**/*.ts",
"test:tdd": "ts-node -P test/tsconfig.json node_modules/tape-watch/bin/tape-watch test/**/*.ts",
"test:coverage": "nyc npm run test:tape && nyc report --reporter=text-lcov",
"start": "run-p build:watch serve test:tdd",
"serve": "lite-server -c server.config.js",
"prepublish": "npm run test && uglifyjs build/d3-czip.js -c -m -o build/d3-czip.min.js",
"postpublish": "bestzip build/d3-czip.zip -- LICENSE README.md build/d3-czip.js build/d3-czip.min.js"
},
"nyc": {
"include": [
"src/**/*.ts"
],
"exclude": [
"**/*.d.ts"
],
"extension": ".ts",
"require": [
"ts-node/register"
],
"reporter": [
"text",
"lcov"
],
"all": true
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.1.0",
"@types/tape": "^4.13.0",
"bestzip": "^2.1.7",
"coveralls": "^3.1.0",
"lite-server": "^2.6.1",
"mkdirp": "^1.0.4",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.39.0",
"rollup-watch": "^4.3.1",
"tape": "^5.1.1",
"tape-watch": "^2.3.0",
"ts-node": "^9.1.1",
"typescript": "^4.1.5",
"uglify-js": "^3.12.8"
}
}