Initialize NPM & Add prettier

This commit is contained in:
Pratik Borsadiya 2018-08-30 14:50:26 +05:30
parent 3237bf002e
commit ee54807bb6
4 changed files with 39 additions and 0 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
.idea .idea
.git .git
debug.log debug.log
node_modules

3
.prettierrc Normal file
View File

@ -0,0 +1,3 @@
{
"printWidth": 100
}

14
package-lock.json generated Normal file
View File

@ -0,0 +1,14 @@
{
"name": "webui-aria2",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"prettier": {
"version": "1.14.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-1.14.2.tgz",
"integrity": "sha512-McHPg0n1pIke+A/4VcaS2en+pTNjy4xF+Uuq86u/5dyDO59/TtFZtQ708QIRkEZ3qwKz3GVkVa6mpxK/CpB8Rg==",
"dev": true
}
}
}

21
package.json Normal file
View File

@ -0,0 +1,21 @@
{
"name": "webui-aria2",
"version": "1.0.0",
"description": "The aim for this project is to create the worlds best and hottest interface to interact with aria2.",
"dependencies": {},
"devDependencies": {
"prettier": "^1.14.2"
},
"scripts": {
"format": "prettier -l --config .prettierrc --write \"**/*{js,css}\" \"!**/*.min.{js,css}\" "
},
"repository": {
"type": "git",
"url": "git+https://github.com/ziahamza/webui-aria2.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/ziahamza/webui-aria2/issues"
},
"homepage": "https://github.com/ziahamza/webui-aria2#readme"
}