cudr_slate-collaborative/package.json

85 lines
2.2 KiB
JSON
Raw Normal View History

2019-10-05 08:44:49 +00:00
{
2022-02-17 21:11:18 +00:00
"name": "@hiveteams/collab",
2022-02-23 21:51:26 +00:00
"version": "1.0.2",
2022-02-17 21:11:18 +00:00
"description": "Slate collaborative editing",
2019-10-05 08:44:49 +00:00
"scripts": {
2022-02-17 21:11:18 +00:00
"format": "prettier --write",
2022-02-17 21:26:38 +00:00
"test": "jest",
2022-02-17 23:00:11 +00:00
"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"
2019-10-05 08:44:49 +00:00
},
"author": "cudr",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/cudr/slate-collaborative.git"
},
2019-10-05 08:44:49 +00:00
"husky": {
"hooks": {
2020-06-21 22:23:34 +00:00
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
2019-10-05 08:44:49 +00:00
}
},
"lint-staged": {
2019-10-19 20:29:09 +00:00
"*.{js,jsx,ts,tsx,babelrc}": [
2022-02-17 21:11:18 +00:00
"npm run format",
2019-10-05 08:44:49 +00:00
"git add"
]
},
"devDependencies": {
2022-02-17 21:11:18 +00:00
"@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",
2022-02-17 21:22:05 +00:00
"@babel/plugin-transform-runtime": "^7.17.0",
2022-02-17 21:11:18 +00:00
"@babel/preset-env": "^7.6.0",
"@babel/preset-typescript": "^7.6.0",
2020-06-21 22:23:34 +00:00
"@commitlint/cli": "^9.0.1",
"@commitlint/config-conventional": "^9.0.1",
"auto-changelog": "^2.1.0",
2019-10-05 08:44:49 +00:00
"husky": "^3.0.5",
2022-02-17 21:11:18 +00:00
"jest": "^24.9.0",
2019-10-05 08:44:49 +00:00
"lint-staged": "^9.2.5",
"prettier": "^1.18.2",
2022-02-17 21:11:18 +00:00
"ts-jest": "^25.4.0",
"typescript": "^4.5.5"
},
"dependencies": {
2022-02-18 00:09:57 +00:00
"@types/jest": "^24.9.0",
"@types/lodash": "^4.14.178",
2022-02-18 00:18:39 +00:00
"@types/react": "^16.12.0",
2022-02-18 00:09:57 +00:00
"@types/socket.io": "^2.1.4",
"@types/socket.io-client": "1.4.32",
2022-02-17 21:22:05 +00:00
"@types/debug": "^4.1.7",
2022-02-17 21:11:18 +00:00
"automerge": "0.14.0",
2022-02-17 21:22:05 +00:00
"debug": "^4.3.3",
2022-02-17 21:11:18 +00:00
"lodash": "4.17.21",
2022-02-18 00:18:39 +00:00
"react": "16.12.0",
2022-03-07 20:00:40 +00:00
"slate": "0.73.1",
2022-02-17 21:11:18 +00:00
"slate-history": "0.66.0",
"socket.io": "^2.3.0"
},
"jest": {
"preset": "ts-jest",
2022-02-17 21:22:05 +00:00
"moduleDirectories": [
"node_modules",
"src"
],
2022-02-17 21:11:18 +00:00
"globals": {
"ts-jest": {
2022-02-17 21:22:05 +00:00
"babelConfig": ".babelrc",
"tsConfig": "tsconfig.json"
2022-02-17 21:11:18 +00:00
}
},
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$"
}
2019-10-05 08:44:49 +00:00
}