Skip to content

Commit

Permalink
Project boilerplate from eunikitin/modern-package-boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Jun 15, 2020
1 parent d92aeea commit 66590ed
Show file tree
Hide file tree
Showing 18 changed files with 9,738 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .babelrc
@@ -0,0 +1,22 @@
{
"presets": [
[ "env", { "modules": false } ],
"stage-0",
"flow"
],

"env": {
"test": {
"presets": [
"env"
]
}
},

"plugins": [
["module-resolver", {
"root": ["./src"]
}],
"transform-runtime"
]
}
Empty file added .eslintignore
Empty file.
17 changes: 17 additions & 0 deletions .eslintrc
@@ -0,0 +1,17 @@
{
"extends": "airbnb",
"parser": "babel-eslint",

"env": {
"mocha": true
},

"rules": {
"linebreak-style": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"import/prefer-default-export": 0,
"import/extensions": 0,
"no-multi-spaces": 0
}
}
16 changes: 16 additions & 0 deletions .flowconfig
@@ -0,0 +1,16 @@
[ignore]
<PROJECT_ROOT>/node_modules/*
<PROJECT_ROOT>/lib/.*
<PROJECT_ROOT>/internals/.*
<PROJECT_ROOT>/test/.*

[include]

[options]
module.system.node.resolve_dirname=./src
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
esproposal.export_star_as=enable
esproposal.decorators=ignore
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
22 changes: 22 additions & 0 deletions .gitignore
@@ -0,0 +1,22 @@
# IDE & OS specific
.DS_Store
.idea

# Logs
logs
*.log

# Dependencies
node_modules

# Coverage
coverage

# Types
flow-typed/npm/*
!flow-typed/npm/module_vx.x.x.js

# Release
lib


30 changes: 30 additions & 0 deletions .npmignore
@@ -0,0 +1,30 @@
# IDE & OS specific
.DS_Store
.idea

# Logs
logs
*.log

# Dependencies
node_modules

# Coverage
coverage

# Types
flow-typed/*

# Sources, tests and builder files
builder
src
test
internals
.flowconfig
.babelrc
.eslintignore
.eslintrc
.travis.yml
jest.json
renovate.json
rollup.config.js
12 changes: 12 additions & 0 deletions .travis.yml
@@ -0,0 +1,12 @@
language: node_js
node_js:
- "lts/*"
- "node"

before_script: npm run lint
script: npm run test
after_success: npm run coveralls

branches:
only:
- master
20 changes: 20 additions & 0 deletions LICENSE
@@ -0,0 +1,20 @@
Copyright (c) 2018 Solana Labs, Inc

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
18 changes: 18 additions & 0 deletions README.md
@@ -0,0 +1,18 @@
[![Build status](https://api.travis-ci.org/solana-labs/solana-web3.js.svg?branch=master)](https://travis-ci.org/solana-labs/solana-web3.js)
[![Coverage Status](https://coveralls.io/repos/github/solana-labs/solana-web3.js/badge.svg?branch=master)](https://coveralls.io/github/solana-labs/solana-web3.js?branch=master)

# Solana JavaScript API

This is the Solana Javascript API built on the Solana JSON RPC API (**TODO: add
link**).


[API Documentation](TODO!)


# Features
...

# Getting started
...

5 changes: 5 additions & 0 deletions jest.json
@@ -0,0 +1,5 @@
{
"collectCoverage": true,
"collectCoverageFrom": ["src/**"],
"coverageReporters": ["json", "lcov", "text-summary", "html"]
}

0 comments on commit 66590ed

Please sign in to comment.