UNPKG

jsx-slack

Version:

Build JSON object for Slack Block Kit surfaces from JSX

135 lines (134 loc) 4.2 kB
{ "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" } }