-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
33 lines (33 loc) · 1.35 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
{
"name": "confluence-macro-ui-kit",
"version": "1.0.12",
"main": "index.js",
"license": "MIT",
"private": true,
"scripts": {
"verify": "./node_modules/.bin/tsc --noEmit --project tsconfig.json",
"prettier": "./node_modules/.bin/prettier --write src/",
"lint": "./node_modules/.bin/tslint --project tsconfig.json --fix src/**/*{.ts,.tsx,.js,.jsx} && forge lint || npm run --silent hook-errors",
"hook-errors": "echo '\\x1b[31mThe build failed because a Forge UI hook is being used incorrectly. Forge UI hooks follow the same rules as React Hooks but have their own API definitions. See the Forge documentation for details on how to use Forge UI hooks.\n' && exit 1",
"prepare": "husky install",
"build": "forge deploy",
"deploy": "env=${npm_config_env:-'development'}; forge deploy -e $env && forge install --upgrade --site mimre.atlassian.net --product confluence --non-interactive -e $env"
},
"devDependencies": {
"@tsconfig/recommended": "^1.0.2",
"@types/node": "^20.2.6",
"@types/react": "^18.2.11",
"@typescript-eslint/parser": "^5.59.9",
"eslint": "^7.32.0",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"prettier": "^2.8.8",
"typescript": "^5.1.3"
},
"dependencies": {
"@forge/api": "^2.15.0",
"@forge/cli": "^6.11.0",
"@forge/ui": "1.8.1",
"tslint": "^6.1.3"
}
}