-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
75 lines (75 loc) · 2.19 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
{
"name": "slate-table",
"version": "0.1.1",
"description": "table plugin for slate.js",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"start": "npm-run-all --parallel --print-label watch:package watch:site",
"build": "npm-run-all --print-label build:package build:site",
"lint": "npm-run-all --parallel --print-label lint:package lint:site",
"clean": "npm-run-all --parallel clean:package clean:site",
"install:site": "npm install --prefix site/",
"watch:package": "tsup src/index.ts --format cjs,esm --dts --watch",
"watch:site": "npm start --prefix site/",
"build:package": "npm run clean:package && tsup src/index.ts --format cjs,esm --dts",
"build:site": "npm run clean:site && npm run build --prefix site/",
"lint:package": "tsc --noEmit && eslint . --fix",
"lint:site": "npm run lint --prefix site/",
"clean:package": "rm -rf ./dist/*",
"clean:site": "rm -rf ./site/.next ./site/out",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nlulic/slate-table.git"
},
"keywords": [
"slate",
"table",
"html"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/nlulic/slate-table/issues"
},
"homepage": "https://github.com/nlulic/slate-table#readme",
"peerDependencies": {
"slate": ">=0.100.0"
},
"devDependencies": {
"@babel/preset-env": "7.23.5",
"@babel/preset-react": "7.23.3",
"@babel/preset-typescript": "7.23.3",
"@types/jest": "29.5.10",
"@typescript-eslint/eslint-plugin": "6.13.2",
"@typescript-eslint/parser": "6.13.2",
"eslint": "8.55.0",
"eslint-plugin-import": "2.29.0",
"jest": "29.5.0",
"lint-staged": "15.2.0",
"npm-run-all": "4.1.5",
"prettier": "3.1.0",
"simple-git-hooks": "2.9.0",
"slate-hyperscript": "0.100.0",
"tsup": "8.0.2",
"typescript": "5.3.2"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"pre-push": "npm run test"
},
"lint-staged": {
"*.{ts,tsx}": [
"bash -c tsc --noEmit"
],
"*.{css,js,jsx,json,ts,tsx}": [
"prettier --write",
"eslint --fix"
]
}
}