-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
138 lines (138 loc) · 4.87 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "@prezly/slate",
"description": "Prezly software built upon Slate",
"license": "MIT",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/prezly/slate.git"
},
"bugs": {
"url": "https://github.com/prezly/slate/issues"
},
"homepage": "https://github.com/prezly/slate#readme",
"type": "module",
"scripts": {
"build": "NODE_ENV=production turbo run build",
"build:dev": "NODE_ENV=development turbo run build",
"check": "pnpm prettier && pnpm test",
"watch": "NODE_ENV=development turbo run watch",
"lint": "pnpm --recursive lint",
"lint:fix": "pnpm --recursive lint --fix",
"test": "turbo run test",
"clean": "pnpm clean:build && pnpm clean:node_modules",
"clean:build": "rimraf *.tsbuildinfo && rimraf node_modules/.cache/ && pnpm --recursive run clean:build",
"clean:node_modules": "pnpm --recursive run clean:node_modules && rimraf node_modules/ pnpm-lock.yaml package-lock.json",
"prettier": "prettier --check './**/*.(js|ts|tsx|scss)'",
"prettier:fix": "pnpm prettier --write --no-list-different",
"release": "pnpm release:prepare && pnpm release:publish",
"release:build": "pnpm build --force",
"release:prepare": "pnpm run clean && pnpm install && pnpm release:build && pnpm check",
"release:publish": "lerna publish",
"postpublish": "open-cli https://github.com/prezly/slate/releases/new?tag=$(cat lerna.json | grep version | cut -d\\\" -f4)",
"sync-package-versions": "node ./sync-package-versions.mjs"
},
"devEngines": {
"node": ">= 16.13.0",
"pnpm": ">= 8.4.0"
},
"dependencies": {
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"slate": "^0.101.5",
"slate-history": "^0.100.0",
"slate-react": "^0.101.5"
},
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/register": "^7.23.7",
"@dr.pogodin/babel-preset-svgr": "^1.8.0",
"@manypkg/get-packages": "^2.1.0",
"@testing-library/react": "^12.0.0 || ^13.0.0 || ^14.0.0",
"@types/chai": "^4.3.5",
"@types/gulp-babel": "^6.1.30",
"@types/mocha": "^10.0.1",
"@types/sinon": "^10.0.14",
"@types/through2": "^2.0.36",
"@types/vinyl": "^2.0.6",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"autoprefixer": "^10.4.13",
"babel-plugin-add-import-extension": "^1.6.0",
"babel-plugin-module-resolver": "^5.0.0",
"babel-plugin-transform-remove-imports": "^1.7.0",
"branch-pipe": "^1.0.1",
"canvas": "^2.11.2",
"concurrently": "^6.4.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"expect": "^29.5.0",
"global-jsdom": "^24.0.0",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-concat": "^2.6.1",
"gulp-filter": "^7.0.0",
"gulp-map": "^0.0.2",
"gulp-postcss": "^9.0.1",
"gulp-rename": "^2.0.0",
"gulp-sass": "^5.1.0",
"gulp-tap": "^2.0.0",
"gulp-typescript": "^6.0.0-alpha.1",
"gulp-use": "^0.0.4",
"ignore-styles": "^5.0.1",
"jsdom": "^24.0.0",
"lerna": "^8.0.2",
"mocha": "^10.4.0",
"mocha-expect-snapshot": "^7.0.1",
"open-cli": "^7.2.0",
"postcss": "^8.4.33",
"postcss-modules": "^4.3.0",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"sass": "^1.62.1",
"sinon": "^15.0.4",
"slate-hyperscript": "^0.100.0",
"ts-node": "^10.9.1",
"tsc-fancy": "^1.1.2",
"tsconfig-paths": "^4.2.0",
"turbo": "^1.9.3",
"typescript": "^5.3.3",
"typescript-plugin-css-modules": "^5.0.2",
"vinyl": "^2.2.1"
},
"workspaces": [
"packages/slate-types",
"packages/slate-commons",
"packages/slate-lists",
"packages/slate-tables",
"packages/slate-editor"
],
"sync-package-versions": {
"packages": [
"react",
"react-dom",
"@types/react",
"@types/react-dom",
"slate",
"slate-history",
"slate-hyperscript",
"slate-react"
]
},
"pnpm": {
"overrides": {
"glob-parent@<5.1.2": ">=5.1.2"
}
}
}