Skip to content

Commit

Permalink
chore(all): init
Browse files Browse the repository at this point in the history
initializations
  • Loading branch information
alvinkl committed Mar 26, 2019
0 parents commit 2917fd0
Show file tree
Hide file tree
Showing 37 changed files with 10,527 additions and 0 deletions.
1 change: 1 addition & 0 deletions .commitlintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] };
77 changes: 77 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

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

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# build output
.maleo
lib

# etc
package-lock.json
.log

# generated declaration files
*.d.ts
@types

.vscode

# ignore yarn lock on example
packages/*/yarn.lock
packages/*/package-lock.json

# OSX
.DS_Store
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
development
setup
webpack
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10.11.0
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
example
*.json
*.yml
*.md
12 changes: 12 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"arrowParens": "always",
"jsxBracketSameLine": true,
"semi": true,
"bracketSpacing": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false,
"printWidth": 100,
"parser": "typescript"
}
37 changes: 37 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
sudo: required
git:
quiet: true

language: node_js
node_js:
- "11"
- "10"

branches:
only:
- master

cache:
yarn: true

before_install:
- npm install --global [email protected]

script:
- yarn build
- yarn test

before_deploy:
- yarn test:cov
- echo "access=public" >> $HOME/.npmrc 2> /dev/null
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
- bash ./ci/travis-checkout-branch.sh

deploy:
- provider: script
skip_cleanup: true
script:
- echo "Publishing Stable"
on:
branch: master
node: "10"
Loading

0 comments on commit 2917fd0

Please sign in to comment.