forked from cudr/slate-collaborative
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.15 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
{
"name": "@hiveteams/collab",
"version": "1.0.5",
"description": "Slate collaborative editing",
"scripts": {
"format": "prettier --write",
"test": "jest",
"clean": "rm -rf ./build",
"build": "./node_modules/typescript/bin/tsc -p ./tsconfig.json",
"deploy": "npm run clean && npm run build && cp package.json ./build && npm publish build"
},
"author": "cudr",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/cudr/slate-collaborative.git"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,babelrc}": [
"npm run format",
"git add"
]
},
"devDependencies": {
"@babel/cli": "^7.6.0",
"@babel/core": "^7.6.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.6.0",
"@babel/preset-typescript": "^7.6.0",
"@commitlint/cli": "^9.0.1",
"@commitlint/config-conventional": "^9.0.1",
"auto-changelog": "^2.1.0",
"husky": "^3.0.5",
"jest": "^24.9.0",
"lint-staged": "^9.2.5",
"prettier": "^1.18.2",
"ts-jest": "^25.4.0",
"typescript": "^4.5.5"
},
"dependencies": {
"@types/jest": "^24.9.0",
"@types/lodash": "^4.14.178",
"@types/react": "17.0.0",
"@types/socket.io": "^2.1.4",
"@types/socket.io-client": "1.4.32",
"@types/debug": "^4.1.7",
"automerge": "0.14.0",
"debug": "^4.3.3",
"lodash": "4.17.21",
"react": "17.0.0",
"slate": "0.73.1",
"slate-history": "0.66.0",
"socket.io": "^2.3.0"
},
"jest": {
"preset": "ts-jest",
"moduleDirectories": [
"node_modules",
"src"
],
"globals": {
"ts-jest": {
"babelConfig": ".babelrc",
"tsConfig": "tsconfig.json"
}
},
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$"
}
}