Skip to content
This repository has been archived by the owner on Mar 11, 2018. It is now read-only.

Commit

Permalink
refactor: pob update
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Oct 16, 2016
1 parent f2601a0 commit b5703c4
Show file tree
Hide file tree
Showing 23 changed files with 154 additions and 175 deletions.
10 changes: 1 addition & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,12 @@ root = true

[*]
indent_style = space
indent_size = 4
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

# Tab indentation (no size specified)
[Makefile, *.mk]
indent_style = tab

# Matches the exact files either package.json or .travis.yml
[{package.json,.travis.yml,eslintrc.js,.eslintrc.yml,.eslintrc.yaml,circleci.yml}]
indent_style = space
indent_size = 2
2 changes: 0 additions & 2 deletions .eslintrc.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
/git-hooks
/examples
/samples
/docs
/coverage
/build
/test
/.pob.json
circle.yml
.codeclimate.yml
jsdoc.config.json

/.settings
/.project
Expand Down
9 changes: 0 additions & 9 deletions .pobrc.json

This file was deleted.

10 changes: 7 additions & 3 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
machine:
node:
version: 6.3.0
version: 6.6.0

general:
branches:
Expand All @@ -17,6 +17,10 @@ test:
pre:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
override:
- npm run lint
- npm run build
- npm run preversion
- npm run test
- XUNIT_FILE=$CIRCLE_TEST_REPORTS/junit/xunit.xml node_modules/.bin/mocha --harmony --recursive --reporter xunit-file -u tdd test/node6
- npm run generate:test-coverage
post:
- bash <(curl -s https://codecov.io/bash)
- cp -R coverage $CIRCLE_ARTIFACTS/
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
var production = process.env.NODE_ENV === 'production';
return module.exports = require('./lib-node6' + (production ? '' : '-dev') + '/');
// help autocomplete
module.exports = require('./src/');
module.exports = require('./lib-node6' + (production ? '' : '-dev') + '/');
32 changes: 16 additions & 16 deletions lib-node6-dev/index.js

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

2 changes: 1 addition & 1 deletion lib-node6-dev/index.js.map

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

32 changes: 16 additions & 16 deletions lib-node6/index.js

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

2 changes: 1 addition & 1 deletion lib-node6/index.js.map

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

30 changes: 15 additions & 15 deletions lib-webpack-dev/index.js

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

2 changes: 1 addition & 1 deletion lib-webpack-dev/index.js.map

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

30 changes: 15 additions & 15 deletions lib-webpack-modern-browsers-dev/index.js

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

2 changes: 1 addition & 1 deletion lib-webpack-modern-browsers-dev/index.js.map

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

30 changes: 15 additions & 15 deletions lib-webpack-modern-browsers/index.js

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

Loading

0 comments on commit b5703c4

Please sign in to comment.