-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
134 lines (134 loc) · 4.1 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
{
"name": "jsx-slack",
"version": "6.1.2",
"description": "Build JSON object for Slack Block Kit surfaces from JSX",
"author": {
"name": "Yuki Hattori",
"url": "https://github.com/yhatt"
},
"repository": {
"type": "git",
"url": "https://github.com/yhatt/jsx-slack"
},
"license": "MIT",
"keywords": [
"slack",
"block-kit",
"jsx",
"notification",
"bot",
"modal"
],
"homepage": "https://github.com/yhatt/jsx-slack#readme",
"bugs": {
"url": "https://github.com/yhatt/jsx-slack/issues"
},
"engines": {
"node": ">=14"
},
"main": "./lib/index.js",
"module": "./module/src/index.mjs",
"exports": {
".": {
"types": "./types/src/index.d.ts",
"import": "./module/src/index.mjs",
"default": "./lib/index.js"
},
"./jsx-dev-runtime": {
"types": "./jsx-dev-runtime.d.ts",
"import": "./module/src/jsx-dev-runtime.mjs",
"default": "./jsx-dev-runtime.js"
},
"./jsx-runtime": {
"types": "./jsx-runtime.d.ts",
"import": "./module/src/jsx-runtime.mjs",
"default": "./jsx-runtime.js"
}
},
"sideEffects": false,
"types": "types/src/index.d.ts",
"files": [
"lib/",
"module/",
"types/",
"jsx-dev-runtime.d.ts",
"jsx-dev-runtime.js",
"jsx-dev-runtime.mjs",
"jsx-runtime.d.ts",
"jsx-runtime.js",
"jsx-runtime.mjs"
],
"scripts": {
"build": "rimraf lib module vendor && rollup -c",
"check:audit": "yarn audit",
"check:format": "yarn -s format -c",
"check:ts": "tsc --noEmit",
"demo": "rimraf dist && rollup -c rollup.demo.config.mjs -w",
"demo:build": "rollup -c rollup.demo.config.mjs",
"format": "prettier \"**/*.{css,html,js,json,jsx,md,mjs,scss,ts,tsx,yaml,yml}\"",
"format:write": "yarn -s format --write",
"lint": "eslint --cache --ignore-pattern \"*.d.ts\" .",
"measure-font": "NODE_PATH=$(npm exec --package=puppeteer --cmd \"which puppeteer | xargs dirname | xargs dirname\") node ./tools/measure-font.js",
"prepack": "npm-run-all -p check:* lint test:coverage -p test:esm types",
"preversion": "run-p check:* lint test:coverage",
"test": "jest",
"test:coverage": "jest --coverage",
"test:debug": "node --inspect ./node_modules/.bin/jest -i",
"test:esm": "yarn build && node --experimental-vm-modules --no-warnings ./node_modules/.bin/jest -c jest.config.esm.mjs",
"types": "rimraf types && tsc --declaration --emitDeclarationOnly --outDir types",
"version": "node ./tools/version.js && git add -A CHANGELOG.md"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"babel-plugin-transform-rename-import": "^2.3.0",
"codemirror": "^5.65.5",
"cssnano": "^6.0.3",
"esbuild": "^0.20.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.6.3",
"eslint-plugin-react": "^7.33.2",
"hast-util-to-mdast": "10.1.0",
"he": "^1.2.0",
"htm": "^3.1.1",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"lodash.debounce": "^4.0.8",
"mdast-util-phrasing": "^4.1.0",
"npm-run-all2": "^7.0.1",
"pako": "^2.1.0",
"postcss": "^8.4.35",
"postcss-import": "^15.1.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"rollup": "^4.10.0",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-esbuild": "^6.1.1",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-serve": "^1.1.1",
"ts-jest": "^29.1.2",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"unist-util-parents": "^3.0.0",
"unist-util-visit": "^5.0.0"
},
"dependencies": {
"@slack/types": "^2.11.0"
}
}