-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 2.59 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "@stencila/sparkla",
"version": "0.13.0",
"description": "Compute sessions for executable documents: fast-to-start, isolated, reproducible. Pick any three.",
"main": "index.js",
"bin": "./dist/cli.js",
"files": [
"dist"
],
"scripts": {
"lint": "eslint 'host/**/*.{ts,js}' --fix",
"format": "npx prettier --write './**/*.{js,json,md,ts,yaml}'",
"test": "npm run test:unit && npm run test:integ",
"test:cover": "jest --coverage --runInBand",
"test:unit": "jest --testPathPattern=\\.test\\.ts$",
"test:integ": "jest --runInBand --testPathPattern=\\.integ\\.ts$",
"build": "configa schema && tsc && cp -r host/public/. dist/public",
"docs": "npm run docs:readme && npm run docs:api",
"docs:readme": "configa readme",
"docs:api": "typedoc --exclude '**/**/*.test.ts' ./host",
"cli": "node dist/cli",
"cli:dev": "ts-node host/cli",
"serve": "node dist/cli serve",
"serve:ts": "ts-node host/cli serve",
"serve:dev": "SPARKLA_jwtSecret='not-a-secret' ts-node-dev host/cli config serve --debug"
},
"license": "Apache-2.0",
"devDependencies": {
"@stencila/dev-config": "1.4.131",
"@types/dockerode": "2.5.34",
"@types/jest": "25.2.3",
"@types/node-os-utils": "1.2.0",
"jest": "25.5.4",
"ts-jest": "25.5.1",
"ts-node": "8.10.2",
"ts-node-dev": "1.1.8",
"typedoc": "0.22.8",
"typescript": "3.9.10"
},
"dependencies": {
"@opencensus/core": "^0.1.0",
"@opencensus/exporter-prometheus": "^0.1.0",
"@sentry/node": "^5.12.4",
"@stencila/configa": "^0.4.2",
"@stencila/executa": "^1.8.0",
"@stencila/logga": "^2.1.0",
"dockerode": "^3.1.0",
"moniker": "^0.1.2",
"node-os-utils": "^1.2.2"
},
"prettier": "@stencila/dev-config/prettier-config.json",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"scope-case": [
2,
"always",
"sentence-case"
],
"subject-case": [
2,
"always",
"sentence-case"
]
}
},
"eslintConfig": {
"extends": "@stencila/eslint-config",
"env": {
"jest": true
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"<rootDir>/(host|guest)/*.(test|integ).[jt]s"
]
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"release": {
"extends": "@stencila/semantic-release-config"
},
"renovate": {
"extends": [
"@stencila"
],
"schedule": "before 3am on Thursday"
}
}