mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-10-22 14:43:10 +00:00
improve
This commit is contained in:
parent
22e6c0116f
commit
9687c94c36
@ -1,4 +0,0 @@
|
|||||||
- repo: https://github.com/Binaryify/NeteaseCloudMusicApi
|
|
||||||
sha: '' # Use the sha or tag you want to point at
|
|
||||||
hooks:
|
|
||||||
- id: prettier
|
|
18
package.json
18
package.json
@ -4,13 +4,14 @@
|
|||||||
"description": "网易云音乐 NodeJS 版 API",
|
"description": "网易云音乐 NodeJS 版 API",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node app.js",
|
"start": "node app.js",
|
||||||
"test": "mocha -r intelli-espower-loader -t 20000 test",
|
"test": "mocha -r intelli-espower-loader -t 20000 test"
|
||||||
"precommit": "lint-staged"
|
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"keywords": [
|
||||||
"*.js": ["prettier --write", "git add"]
|
"网易云音乐",
|
||||||
},
|
"网易云",
|
||||||
"keywords": ["网易云音乐", "网易云", "音乐", "网易云音乐nodejs"],
|
"音乐",
|
||||||
|
"网易云音乐nodejs"
|
||||||
|
],
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@ -20,11 +21,8 @@
|
|||||||
"request": "^2.85.0"
|
"request": "^2.85.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"husky": "^0.14.3",
|
|
||||||
"intelli-espower-loader": "^1.0.1",
|
"intelli-espower-loader": "^1.0.1",
|
||||||
"lint-staged": "^7.1.0",
|
|
||||||
"mocha": "^5.1.1",
|
"mocha": "^5.1.1",
|
||||||
"power-assert": "^1.5.0",
|
"power-assert": "^1.5.0"
|
||||||
"prettier": "^1.12.1"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user