UNPKG

3.97 kBJSONView Raw
1{
2 "name": "@stencila/dockter",
3 "version": "0.10.0",
4 "description": "A Docker image builder for researchers",
5 "main": "dist/index.js",
6 "types": "dist/index.d.ts",
7 "bin": {
8 "dockter": "./dist/cli.js"
9 },
10 "scripts": {
11 "lint": "tslint --project tsconfig.json --fix --format stylish ./src/**/*.ts",
12 "test": "jest",
13 "cover": "jest --collectCoverage",
14 "build": "npm run build-dist && npm run build-bins",
15 "build-dist": "tsc && cp ./src/*.json dist",
16 "build-bins": "pkg --out-path=build .",
17 "bundle": "npm run bundle-linux && npm run bundle-macos && npm run bundle-win",
18 "bundle-linux": "tar --transform 's|build/dockter-linux|dockter|' -czvf build/dockter-linux-x64.tar.gz build/dockter-linux",
19 "bundle-macos": "tar --transform 's|build/dockter-macos|dockter|' -czvf build/dockter-macos-x64.tar.gz build/dockter-macos",
20 "bundle-win": "./bundle-win.sh",
21 "docs": "markdown-toc -i --maxdepth=4 README.md && typedoc --readme README.md --mode file --out ./docs ./src",
22 "cli": "ts-node src/cli.ts",
23 "server": "ts-node src/server.ts",
24 "start": "node ./dist/server.js",
25 "commit": "git-cz",
26 "prepublishOnly": "npm run build && npm run bundle",
27 "semantic-release": "semantic-release"
28 },
29 "repository": {
30 "type": "git",
31 "url": "https://github.com/stencila/dockter.git"
32 },
33 "keywords": [
34 "Docker",
35 "Dockerfile",
36 "JSON-LD",
37 "reproducibility",
38 "reasearch"
39 ],
40 "author": "Contributors (https://github.com/stencila/dockter/contributors)",
41 "license": "Apache-2.0",
42 "bugs": {
43 "url": "https://github.com/stencila/dockter/issues"
44 },
45 "homepage": "https://github.com/stencila/dockter#readme",
46 "devDependencies": {
47 "@semantic-release/commit-analyzer": "^6.1.0",
48 "@semantic-release/git": "^7.0.5",
49 "@semantic-release/github": "^5.2.0",
50 "@semantic-release/npm": "^5.0.5",
51 "@semantic-release/release-notes-generator": "^7.1.1",
52 "@types/dockerode": "^2.5.5",
53 "@types/express": "^4.16.0",
54 "@types/got": "^9.2.0",
55 "@types/jest": "^23.3.3",
56 "@types/js-yaml": "^3.11.2",
57 "@types/node-persist": "0.0.33",
58 "@types/semver": "^5.5.0",
59 "@types/tar-fs": "^1.16.1",
60 "@types/tmp": "0.0.33",
61 "@types/yargs": "^12.0.1",
62 "commitizen": "^3.0.4",
63 "cz-conventional-changelog": "^2.1.0",
64 "jest": "^23.6.0",
65 "markdown-toc": "^1.2.0",
66 "pkg": "^4.3.4",
67 "semantic-release": "^15.10.5",
68 "semantic-release-cli": "^4.0.9",
69 "ts-jest": "^23.10.3",
70 "ts-node": "^7.0.1",
71 "tslint": "^5.11.0",
72 "tslint-config-standard": "^8.0.1",
73 "typedoc": "^0.13.0",
74 "typescript": "^3.1.1"
75 },
76 "dependencies": {
77 "@stencila/schema": "^0.2.2",
78 "detective": "^5.1.0",
79 "docker-file-parser": "^1.0.4",
80 "dockerode": "^2.5.7",
81 "express": "^4.16.3",
82 "fast-glob": "^2.2.3",
83 "got": "^9.2.2",
84 "js-yaml": "^3.12.0",
85 "node-persist": "^3.0.1",
86 "rimraf": "^2.6.2",
87 "semver": "^5.6.0",
88 "tar-fs": "^1.16.3",
89 "tmp": "0.0.33",
90 "yargonaut": "^1.1.4",
91 "yargs": "^12.0.2"
92 },
93 "config": {
94 "commitizen": {
95 "path": "./node_modules/cz-conventional-changelog"
96 }
97 },
98 "pkg": {
99 "scripts": "./dist/**/*.js",
100 "assets": "./dist/**/*.json"
101 },
102 "release": {
103 "plugins": [
104 "@semantic-release/commit-analyzer",
105 "@semantic-release/release-notes-generator",
106 "@semantic-release/npm",
107 "@semantic-release/git",
108 [
109 "@semantic-release/github",
110 {
111 "assets": [
112 {
113 "path": "build/dockter-linux-x64.tar.gz",
114 "label": "dockter-linux-x64.tar.gz"
115 },
116 {
117 "path": "build/dockter-macos-x64.tar.gz",
118 "label": "dockter-macos-x64.tar.gz"
119 },
120 {
121 "path": "build/dockter-win-x64.zip",
122 "label": "dockter-win-x64.zip"
123 }
124 ]
125 }
126 ]
127 ]
128 }
129}