Skip to content

Commit

Permalink
build: initial commit, boilerplates and configs
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Jun 7, 2018
1 parent ac5da90 commit 66aec60
Show file tree
Hide file tree
Showing 11 changed files with 12,606 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"comments": false,
"ignore": [
"interface.js"
],

"env": {
"production": {
"presets": [
"@babel/preset-flow",
["@babel/preset-env", {"modules": false}]
]
},
"test": {
"presets": [
"@babel/preset-flow",
"@babel/preset-env"
]
}
}
}

10 changes: 10 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[include]
./src/

[libs]
./flow-typed/
./node_modules/**/flow-typed/
./node_modules/**/**/flow-typed/

[options]
module.ignore_non_literal_requires=true
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Coverage
flow-coverage
lib-cov
coverage
.nyc_output

# Bundle
build
dist

#Docs
docs
doc

# Deps
node_modules/
jspm_packages/
flow-typed/npm/

.npm
.eslintcache
.node_repl_history
.env

.idea
*.iml
16 changes: 16 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"reporter": [
"html",
"text",
"text-summary"
],
"include": [
"src/**/*.js"
],
"require": [
"@std/esm",
"./script/require-all"
],
"check-coverage": false,
"cache": true
}
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language: node_js
node_js:
- '10'

install:
- npm install
- npm run build

script:
- npm run test_with_report

deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release
7 changes: 7 additions & 0 deletions docma.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"src": [
"./dist/**/*.js",
"./README.md"
],
"dest": "./docs"
}
Loading

0 comments on commit 66aec60

Please sign in to comment.