poster-design/service/package.json

46 lines
1.3 KiB
JSON
Raw Normal View History

2023-07-18 07:03:15 +00:00
{
"name": "screenshot-node",
"version": "1.0.0",
"description": "",
"main": "./src/main",
"scripts": {
2024-03-10 17:53:55 +00:00
"dev": "cross-env NODE_ENV=development ts-node-dev src/main",
2023-07-18 07:03:15 +00:00
"build": "cross-env NODE_ENV=production webpack",
"serve": "ts-node src/main",
"start": "webpack --watch",
"serverstart": "pm2 start ./dist/server.js --watch",
"tscstart": "tsc -w",
"build:apidoc": "apidoc -i src/ -o _apidoc/",
"publish": "rm -rf ./static && rm -rf ./_apidoc && sh script/publish.sh",
"publish-fast": "git add . && git commit -m 'build: auto publish' && npm run publish"
},
"author": "ShawnPhang",
"license": "ISC",
"dependencies": {
2024-08-14 12:53:43 +00:00
"axios": "^1.7.3",
2023-07-18 07:03:15 +00:00
"body-parser": "^1.19.0",
2024-08-14 12:53:43 +00:00
"express": "^4.19.2",
"image-size": "^1.1.1",
2023-07-18 07:03:15 +00:00
"images": "^3.2.4",
2024-08-14 12:53:43 +00:00
"multiparty": "^4.2.3",
2023-07-18 07:03:15 +00:00
"puppeteer": "^10.4.0"
},
"devDependencies": {
2024-08-14 12:53:43 +00:00
"@types/express": "^4.17.21",
"@types/node": "^16.18.105",
2023-07-18 07:03:15 +00:00
"cross-env": "^7.0.3",
"ts-loader": "^6.0.4",
"ts-node": "^8.3.0",
2024-03-10 17:53:55 +00:00
"ts-node-dev": "^2.0.0",
2023-07-18 07:03:15 +00:00
"typescript": "^3.5.3",
2024-03-10 17:53:55 +00:00
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4",
2023-07-18 07:03:15 +00:00
"webpack-node-externals": "^3.0.0"
},
"apidoc": {
"title": "自动api接口文档",
"url": "http://localhost:9999/",
"sampleUrl": "http://localhost:9999/"
}
}