|
|
@@ -2,16 +2,16 @@
|
|
|
"name": "@growi/slack",
|
|
|
"version": "6.0.7-RC.0",
|
|
|
"license": "MIT",
|
|
|
- "main": "dist/index.js",
|
|
|
- "typings": "dist/index.d.ts",
|
|
|
+ "main": "dist/slack.umd.js",
|
|
|
+ "module": "dist/slack.mjs",
|
|
|
+ "types": "types/index.d.ts",
|
|
|
"scripts": {
|
|
|
- "build": "yarn tsc && tsc-alias -p tsconfig.build.json",
|
|
|
- "clean": "npx -y shx rm -rf dist",
|
|
|
- "tsc": "tsc -p tsconfig.build.json",
|
|
|
- "tsc:w": "yarn tsc -w",
|
|
|
- "test": "cross-env NODE_ENV=test jest --passWithNoTests",
|
|
|
- "lint": "eslint src --ext .ts",
|
|
|
- "lint:fix": "eslint src --ext .ts --fix"
|
|
|
+ "build": "vite build",
|
|
|
+ "clean": "npx -y shx rm -rf dist types",
|
|
|
+ "dev": "vite build --mode dev",
|
|
|
+ "watch": "yarn dev -w'",
|
|
|
+ "lint:js": "eslint **/*.{js,ts}",
|
|
|
+ "lint": "npm-run-all -p lint:*"
|
|
|
},
|
|
|
"dependencies": {
|
|
|
"@slack/oauth": "^2.0.1",
|