Skip to content

Commit

Permalink
refactor: remove package info
Browse files Browse the repository at this point in the history
The package won't be published, so there's no need to include details there.

This change also removes the shebang from the backend entry point, which is redundant since the executable bit is not set.

Refs #397
  • Loading branch information
thewilkybarkid committed Aug 19, 2021
1 parent f2195a0 commit 24e30d1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 43 deletions.
11 changes: 0 additions & 11 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,6 @@
"lodash"
]
}
],
"node/shebang": [
"error",
{
"convertPath": {
"src/**/*.js": [
"^src/(.+?)\\.js$",
"dist/$1.js"
]
}
}
]
}
}
4 changes: 1 addition & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 1 addition & 28 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,5 @@
{
"name": "prereview",
"version": "0.1.0",
"description": "A platform for reviewing preprints.",
"license": "AGPL-3.0-or-later",
"contributors": [
"Harum Helmy <[email protected]",
"Josh King <[email protected]",
"Rae Gaines <[email protected]"
],
"keywords": [
"preprint",
"orcid",
"doi"
],
"repository": {
"type": "git",
"url": "git+https://github.com/throneless-tech/prereview.git"
},
"bugs": {
"url": "https://github.com/throneless-tech/prereview/issues"
},
"homepage": "https://github.com/throneless-tech/prereview#readme",
"bin": {
"prereview": "./dist/backend/index.js"
},
"files": [
"/dist"
],
"private": true,
"watch": {
"build:backend:dev": {
"patterns": [
Expand Down
1 change: 0 additions & 1 deletion src/backend/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node
import { createServer } from 'http';
import config from './config.ts';
import configServer from './server.js';
Expand Down

0 comments on commit 24e30d1

Please sign in to comment.