Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create baseline node app #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"presets": [
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
}
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
max_line_length = 0
trim_trailing_whitespace = false
17 changes: 17 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"indent": [2, "tab"],
"no-tabs": 0,
},
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true
},
"settings": {
"react": {"version": "latest"}
}
}
Empty file added README.md
Empty file.
32 changes: 32 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "@priorartarchive/file-ingestion",
"version": "0.0.1",
"description": "An API for ingesting files into the prior art archive",
"main": "src/index.js",
"repository": "[email protected]:prior-art-archive/file-ingestion.git",
"author": "Bad Idea Factory <[email protected]>",
"license": "MIT",
"scripts": {
"build": "node src/index.js",
"lint": "eslint src --ext .js,.jsx",
"test": "jest",
"test:ci": "jest",
"posttest": "yarn lint"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/preset-env": "^7.7.1",
"@babel/register": "^7.7.0",
"babel-eslint": "^10.0.3",
"eslint": "^6.6.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.16.0",
"jest": "^24.9.0"
},
"dependencies": {
"@babel/core": "^7.7.2",
"@babel/node": "^7.7.0"
}
}
Empty file added src/__test__/.travis.yml
Empty file.
6 changes: 6 additions & 0 deletions src/__test__/index.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
describe('Hello world', () => {
it('should pass', () => {
const x = 'Hello world';
expect(x).toEqual('Hello world');
});
});
Empty file added src/index.js
Empty file.
4,989 changes: 4,989 additions & 0 deletions yarn.lock

Large diffs are not rendered by default.