project init

This commit is contained in:
zhl 2019-04-02 14:33:48 +08:00
commit 66acaf1cc5
3 changed files with 46 additions and 0 deletions

18
.gitignore vendored Normal file
View File

@ -0,0 +1,18 @@
/.env
/.idea/
**/node_modules
**/.DS_Store
/config/config.js
/public
/logs
/build
/dist
/lib
rev-manifest.json
/yarn.lock
/nohup.out
/package-lock.json
/dist.tar.gz

28
package.json Normal file
View File

@ -0,0 +1,28 @@
{
"name": "spider",
"version": "1.0.0",
"description": "",
"main": "index.js",
"babel": {
"presets": [
"env"
]
},
"scripts": {
"start": "babel-node src/app.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "zhl",
"license": "ISC",
"dependencies": {
"bluebird": "^3.5.3",
"mongoose": "^5.2.15",
"request-promise": "^4.2.4",
"ws": "^6.1.2"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.4.0",
"babel-register": "^6.24.1"
}
}

0
src/app.js Normal file
View File