rewrite by ts
Showing
... | @@ -2,18 +2,20 @@ | ... | @@ -2,18 +2,20 @@ |
"name": "tiny-image", | "name": "tiny-image", | ||
"version": "1.0.0", | "version": "1.0.0", | ||
"main": "dist/index.js", | "main": "dist/index.js", | ||
"types": "types.d.ts", | "types": "dist/index.d.ts", | ||
"license": "MIT", | "license": "MIT", | ||
"dependencies": { | "dependencies": { | ||
"form-data": "^3.0.0", | "form-data": "^3.0.0", | ||
"fs-extra": "^8.1.0", | "fs-extra": "^8.1.0", | ||
"node-fetch": "^2.6.0" | "node-fetch": "^2.6.0", | ||
"is-jpg": "^2.0.0", | |||
"is-png": "^2.0.0" | |||
}, | }, | ||
"scripts": { | "scripts": { | ||
"dev": "rollup -c -w", | "dev": "tsc -w", | ||
"build": "rollup -c" | "build": "tsc" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"rollup-plugin-progress": "^1.1.1" | "@types/fs-extra": "^9.0.2" | ||
} | } | ||
} | } |
rollup.config.js
deleted
100644 → 0
tsconfig.json
0 → 100644
types.d.ts
deleted
100644 → 0
Please register or sign in to comment