mirror of
https://github.com/palxiao/poster-design.git
synced 2025-06-08 03:19:59 +08:00
54 lines
1.5 KiB
JSON
54 lines
1.5 KiB
JSON
{
|
|
"name": "screenshot-node",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "./src/main",
|
|
"scripts": {
|
|
"dev": "ts-node-dev src/main",
|
|
"test": "cd ./static && hs --cors",
|
|
"build": "cross-env NODE_ENV=production webpack",
|
|
"serve": "ts-node src/main",
|
|
"serve-test": "gulp",
|
|
"start": "webpack --watch",
|
|
"serverstart": "pm2 start ./dist/server.js --watch",
|
|
"tscstart": "tsc -w",
|
|
"serverstart2": "supervisor -w www ./www/main.js",
|
|
"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": {
|
|
"body-parser": "^1.19.0",
|
|
"express": "^4.17.1",
|
|
"gif-encoder-2": "^1.0.5",
|
|
"images": "^3.2.4",
|
|
"png-js": "^1.0.0",
|
|
"puppeteer": "^10.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^12.6.9",
|
|
"cross-env": "^7.0.3",
|
|
"express-graphql": "^0.9.0",
|
|
"graphql": "^14.5.4",
|
|
"gulp": "^4.0.2",
|
|
"http-server": "^14.0.0",
|
|
"speed-measure-webpack-plugin": "^1.5.0",
|
|
"supervisor": "^0.12.0",
|
|
"ts-loader": "^6.0.4",
|
|
"ts-node": "^8.3.0",
|
|
"ts-node-dev": "^1.0.0-pre.40",
|
|
"typescript": "^3.5.3",
|
|
"webpack": "^4.39.1",
|
|
"webpack-bundle-analyzer": "^4.5.0",
|
|
"webpack-cli": "^3.3.6",
|
|
"webpack-node-externals": "^3.0.0"
|
|
},
|
|
"apidoc": {
|
|
"title": "自动api接口文档",
|
|
"url": "http://localhost:9999/",
|
|
"sampleUrl": "http://localhost:9999/"
|
|
}
|
|
}
|