-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
88 lines (88 loc) · 2.08 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
{
"name": "dotted-logootsplit",
"version": "0.3.0",
"description": "Dotted version of LogootSplit",
"keywords": [
"crdt",
"data-structures"
],
"author": "Victorien Elvinger (victorien.elvinger.fr)",
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "https://github.com/coast-team/dotted-logootsplit"
},
"bugs": {
"url": "https://github.com/coast-team/dotted-logootsplit/issues"
},
"main": "dist/main/index.js",
"module": "dist/module/index.js",
"es2015": "dist/es2015/index.js",
"types": "dist/types/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"prebuild": "rm -rf dist/",
"build": "tsc -b tsconfig.main.json tsconfig.module.json tsconfig.es2015.json tsconfig.types.json",
"clean": "rm -rf dist/ .tested/ .nyc_output/",
"pretest": "rm -rf .tested/test/ && tsc",
"test": "nyc ava",
"prerelease": "npm test && npm run build",
"release": "standard-version --sign"
},
"ava": {
"files": [
".tested/test/**/*.test.js"
],
"sources": [
".tested/src/**/*.js"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "ava && lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.ts": [
"prettier --write",
"git add",
"eslint"
]
},
"nyc": {
"exclude": [
".tested/src/*.js",
".tested/src/core/assert.js",
".tested/test/"
]
},
"devDependencies": {
"@commitlint/cli": "^8.0.0",
"@commitlint/config-conventional": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^1.9.0",
"@typescript-eslint/parser": "^1.9.0",
"@typescript-eslint/typescript-estree": "^1.9.0",
"ava": "^2.1.0",
"eslint": "^5.16.0",
"eslint-config-conaclos": "^2.4.0",
"husky": "^2.4.0",
"lint-staged": "^8.1.7",
"nyc": "^14.1.1",
"prettier": "~1.17.1",
"typescript": "^3.4.5"
},
"dependencies": {
"replayable-random": "=0.4.1",
"tslib": "^1.9.3"
}
}