2024-01-25 23:25:00 -06:00
|
|
|
{
|
|
|
|
"type": "module",
|
|
|
|
"name": "misskey-mahjong",
|
|
|
|
"version": "0.0.1",
|
2024-01-27 02:50:41 -06:00
|
|
|
"types": "./built/dts/index.d.ts",
|
2024-01-25 23:25:00 -06:00
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"import": "./built/esm/index.js",
|
|
|
|
"types": "./built/dts/index.d.ts"
|
|
|
|
},
|
|
|
|
"./*": {
|
|
|
|
"import": "./built/esm/*",
|
|
|
|
"types": "./built/dts/*"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"build": "node ./build.js",
|
|
|
|
"build:tsc": "npm run tsc",
|
|
|
|
"tsc": "npm run tsc-esm && npm run tsc-dts",
|
|
|
|
"tsc-esm": "tsc --outDir built/esm",
|
|
|
|
"tsc-dts": "tsc --outDir built/dts --declaration true --emitDeclarationOnly true --declarationMap true",
|
|
|
|
"watch": "nodemon -w src -e ts,js,cjs,mjs,json --exec \"pnpm run build:tsc\"",
|
|
|
|
"eslint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
|
|
"typecheck": "tsc --noEmit",
|
2024-02-10 21:45:50 -06:00
|
|
|
"lint": "pnpm typecheck && pnpm eslint",
|
|
|
|
"jest": "jest --coverage --detectOpenHandles",
|
|
|
|
"test": "npm run jest"
|
2024-01-25 23:25:00 -06:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@misskey-dev/eslint-plugin": "1.0.0",
|
2024-02-10 21:45:50 -06:00
|
|
|
"@types/node": "20.11.17",
|
|
|
|
"@types/jest": "29.5.12",
|
2024-01-25 23:25:00 -06:00
|
|
|
"@typescript-eslint/eslint-plugin": "6.18.1",
|
|
|
|
"@typescript-eslint/parser": "6.18.1",
|
|
|
|
"eslint": "8.56.0",
|
|
|
|
"nodemon": "3.0.2",
|
2024-02-10 21:45:50 -06:00
|
|
|
"typescript": "5.3.3",
|
|
|
|
"jest": "29.7.0",
|
|
|
|
"ts-jest": "29.1.2",
|
|
|
|
"ts-jest-resolver": "2.0.1"
|
2024-01-25 23:25:00 -06:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"built"
|
|
|
|
],
|
|
|
|
"dependencies": {
|
|
|
|
"crc-32": "1.2.2",
|
|
|
|
"esbuild": "0.19.11",
|
|
|
|
"glob": "10.3.10"
|
|
|
|
}
|
|
|
|
}
|