bump and dev server
Showing
dev/extras.ts
0 → 100644
dev/index.ts
0 → 100644
dev/test-pics/10000.jpg
0 → 100644
85.1 KB
dev/test-pics/10000000.jpg
0 → 100644
85.2 KB
dev/test-pics/10000001.jpg
0 → 100644
77.6 KB
dev/test-pics/10000002.jpg
0 → 100644
77.6 KB
dev/test-pics/10000010.jpg
0 → 100644
88.5 KB
dev/test-pics/10000011.jpg
0 → 100644
88.2 KB
dev/test-pics/10000012.jpg
0 → 100644
87.4 KB
dev/test-pics/10000020.jpg
0 → 100644
89.7 KB
dev/test-pics/10000021.jpg
0 → 100644
76.9 KB
dev/test-pics/10000022.jpg
0 → 100644
80.6 KB
dev/test-pics/10000030.jpg
0 → 100644
77.3 KB
dev/test-pics/10000040.jpg
0 → 100644
74.1 KB
dev/test-pics/10000080.jpg
0 → 100644
77.2 KB
dev/test-pics/10000090.jpg
0 → 100644
91.5 KB
This diff is collapsed.
... | ... | @@ -6,7 +6,9 @@ |
"types": "dist/index.d.ts", | ||
"scripts": { | ||
"lint": "eslint --fix .", | ||
"build": "webpack && env PACK_ALL=1 webpack" | ||
"build": "webpack && env PACK_ALL=1 webpack", | ||
"start": "ts-node ./dev", | ||
"test": "jest --passWithNoTests" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
... | ... | @@ -26,27 +28,52 @@ |
}, | ||
"homepage": "https://github.com/koishijs/koishi-plugin-picsource-localfs", | ||
"dependencies": { | ||
"koishi-thirdeye": "^8.3.2", | ||
"koishi-thirdeye": "^8.3.3", | ||
"read-dir-deep": "^7.0.1", | ||
"source-map-support": "^0.5.20" | ||
}, | ||
"peerDependencies": { | ||
"koishi": "^4.2.1", | ||
"koishi": "^4.2.2", | ||
"koishi-plugin-pics": "^8.3.0" | ||
}, | ||
"devDependencies": { | ||
"@koishijs/plugin-cache-lru": "^1.0.0-rc.0", | ||
"@koishijs/plugin-console": "^3.1.1", | ||
"@koishijs/plugin-database-memory": "^1.0.2", | ||
"@koishijs/plugin-sandbox": "^1.0.0", | ||
"@types/jest": "^27.4.0", | ||
"@types/node": "^16.11.4", | ||
"@typescript-eslint/eslint-plugin": "^4.33.0", | ||
"@typescript-eslint/parser": "^4.33.0", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^3.4.1", | ||
"jest": "^27.5.1", | ||
"prettier": "^2.4.1", | ||
"raw-loader": "^4.0.2", | ||
"ts-jest": "^27.1.3", | ||
"ts-loader": "^9.2.6", | ||
"ts-node": "^10.5.0", | ||
"typescript": "^4.4.4", | ||
"webpack": "^5.59.1", | ||
"webpack-cli": "^4.9.1", | ||
"ws": "^8.3.0" | ||
}, | ||
"jest": { | ||
"moduleFileExtensions": [ | ||
"js", | ||
"json", | ||
"ts" | ||
], | ||
"rootDir": "tests", | ||
"testRegex": ".*\\.spec\\.ts$", | ||
"transform": { | ||
"^.+\\.(t|j)s$": "ts-jest" | ||
}, | ||
"collectCoverageFrom": [ | ||
"**/*.(t|j)s" | ||
], | ||
"coverageDirectory": "../coverage", | ||
"testEnvironment": "node" | ||
} | ||
} |
tests/sample.spec.ts
0 → 100644