-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
122 lines (122 loc) · 3.7 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "@coast-team/mute-core",
"description": "Core component of MUTE collaborative editor",
"version": "11.2.0",
"main": "./dist/mute-core.node.es5.cjs.js",
"module": "./dist/mutecore.node.es5.esm.js",
"browser": "./dist/mute-core.browser.es5.esm.js",
"es2015": "dist/mute-core.browser.es2015.esm.js",
"esnext": "dist/mute-core.browser.esnext.esm.js",
"types": "dist/types/src/index.node.d.ts",
"files": [
"dist",
"src"
],
"repository": {
"type": "git",
"url": "https://github.com/coast-team/mute-core"
},
"keywords": [
"crdt",
"data-structures",
"sync",
"collaboration"
],
"author": "Matthieu Nicolas <[email protected]",
"contributors": [
"Philippe Kalitine <[email protected]> (https://philippe.kalitine.name/)",
"Quentin Tardivon",
"Cedric Enclos",
"Baptiste Hubert"
],
"license": "GPL-3.0",
"publishConfig": {
"access": "public"
},
"scripts": {
"prepack": "npm run build",
"prebuild": "rm -rf dist && npm run proto",
"build": "rollup --config",
"postbuild": "mkdir -p dist/types/src/proto && cp src/proto/index.d.ts dist/types/src/proto && mkdir dist/proto && cp -r src/proto/*.proto dist/proto",
"prebuild-test": "rm -rf .ava/test && npm run proto",
"build-test": "tsc -p tsconfig.json --outDir .ava --module commonjs --allowJs",
"postbuild-test": "mkdir -p .ava/src/proto && pbjs -t static-module -w commonjs --no-verify --no-delimited --no-convert -o .ava/src/proto/index.js src/proto/index.proto",
"check": "tsc --noEmit",
"lint": "tslint --fix -p tsconfig.json && prettier --write --list-different 'src/**/*.ts test/**/*.{ts}' './*.{ts,js,json,md}' './*.md' && markdownlint ./*.md",
"pretest": "npm run build-test",
"test": "ava",
"proto": "pbjs -t static-module -w es6 --no-verify --no-delimited --no-convert -o src/proto/index.js src/proto/index.proto && pbts -o src/proto/index.d.ts src/proto/index.js",
"postproto": "rollup -c rollup.config.proto.js",
"precommit": "lint-staged && npm test",
"commitmsg": "commitlint -e $GIT_PARAMS",
"cz": "git-cz",
"release": "standard-version"
},
"dependencies": {
"dotted-logootsplit": "^0.3.0",
"mute-structs": "^1.1.0",
"rxjs": "^6.5.2",
"safe-any": "^1.0.2"
},
"devDependencies": {
"@commitlint/cli": "^7.3.2",
"@commitlint/config-conventional": "^7.3.1",
"@types/node": "^8.10.39",
"assert": "^1.4.1",
"ava": "^1.1.0",
"commitizen": "^2.10.1",
"cz-conventional-changelog": "^2.1.0",
"husky": "^0.14.3",
"lint-staged": "^7.2.2",
"markdownlint-cli": "^0.13.0",
"prettier": "^1.16.0",
"protobufjs": "^6.8.8",
"rollup": "^0.65.2",
"rollup-plugin-cleanup": "^3.1.1",
"rollup-plugin-commonjs": "^9.1.6",
"rollup-plugin-filesize": "^4.0.1",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-re": "^1.0.7",
"rollup-plugin-typescript2": "^0.17.0",
"standard-version": "^4.4.0",
"tslint": "^5.12.1",
"tslint-config-prettier": "^1.17.0",
"typescript": "^3.4.5"
},
"ava": {
"files": [
".ava/test/**/*.test.js"
],
"sources": [
"test"
],
"timeout": "5s"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"linters": {
"*.md": [
"prettier --write --list-different",
"git add"
],
"*.ts": [
"tslint --fix -p tsconfig.json -e src/proto/*",
"git add"
],
"*.{ts,json,scss,css}": [
"prettier --write --list-different",
"git add"
]
},
"concurrent": false
}
}