This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

refactor: pob update

  • Loading branch information...
christophehurpeau committed Oct 16, 2016
1 parent c0daf5d commit fdd707609c99754ab73bba150a67a2e8ec0fadf6
@@ -0,0 +1 @@
module.exports = ['karma'];
@@ -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
@@ -0,0 +1 @@
exports.extends = 'pob/babel';

This file was deleted.

Oops, something went wrong.
@@ -1,11 +1,14 @@
/git-hooks
/examples
/samples
/docs
/coverage
/build
/test
/.pob.json
circle.yml
.codeclimate.yml
jsdoc.config.json

/.settings
/.project
@@ -0,0 +1,10 @@
{
"envs": [
"node6",
"webpack-modern-browsers",
"webpack"
],
"react": false,
"testing": true,
"documentation": false
}

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,8 @@
language: node_js
node_js:
- "6"
- "4"

cache:
directories:
- node_modules
@@ -1,6 +1,6 @@
machine:
node:
version: 6.3.0
version: 6.6.0

general:
branches:
@@ -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/
@@ -0,0 +1,5 @@
#!/bin/bash

if [[ `git diff HEAD@{1} --stat -- package.json` != "" ]]; then
npm install ; npm prune
fi
@@ -0,0 +1,5 @@
#!/bin/bash

if [[ `git diff HEAD@{1} --stat -- package.json` != "" ]]; then
npm install ; npm prune
fi
@@ -0,0 +1,11 @@
#!/bin/sh

# Allow to read user input, assigns stdin to keyboard
exec < /dev/tty

case "$2," in
message,|template,|,)
node_modules/.bin/prepare-commit-msg --path "$1"
;;
*) ;;
esac
@@ -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') + '/');

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -8,7 +8,7 @@
],
"author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
"license": "ISC",
"repository": "nightingalejs/nightingale-json-formatter",
"repository": "git@github.com:nightingalejs/nightingale-json-formatter.git",
"homepage": "https://github.com/nightingalejs/nightingale",
"main": "./index.js",
"webpack:main": "./lib-webpack/index.js",
@@ -17,41 +17,36 @@
"webpack:main-modern-browsers-dev": "./lib-webpack-modern-browsers-dev/index.js",
"scripts": {
"build": "pob-build",
"build:dev": "pob-build",
"clean": "rm -Rf docs dist test/node6 coverage",
"generate:test-coverage": "rm -Rf coverage/ ; node --harmony --es_staging node_modules/istanbul/lib/cli.js cover node_modules/.bin/_mocha -- --recursive --reporter=spec -u tdd test/node6",
"lint": "eslint --ext .js,.jsx --fix -c .eslintrc.yml src/ test/src/",
"prepublish": "ln -s ../../git-hooks/pre-commit .git/hooks/pre-commit || echo",
"preversion": "npm run lint && npm run build && npm run build && pob-repository-check-clean",
"generate:test-coverage": "rm -Rf coverage/ ; NODE_ENV=production node --harmony --es_staging node_modules/istanbul/lib/cli.js cover node_modules/.bin/_mocha -- --recursive --reporter=spec -u tdd test/node6",
"lint": "eslint --ext .js,.jsx --fix src/ test/src/",
"prepublish": "ln -s ../../git-hooks/pre-commit .git/hooks/pre-commit 2>/dev/null || true ; ln -s ../../git-hooks/post-checkout .git/hooks/post-checkout 2>/dev/null || true ; ln -s ../../git-hooks/post-merge .git/hooks/post-merge 2>/dev/null || true ; ln -s ../../git-hooks/prepare-commit-msg .git/hooks/prepare-commit-msg 2>/dev/null || true",
"preversion": "npm run lint && npm run build && pob-repository-check-clean",
"release": "pob-repository-check-clean && pob-release",
"test": "mocha --harmony --es_staging --recursive --bail -u tdd test/node6",
"version": "pob-version",
"watch": "pob-watch",
"watch:dev": "pob-watch"
"watch": "pob-watch"
},
"dependencies": {
"nightingale-formatter": "^1.1.0"
},
"devDependencies": {
"babel-eslint": "^6.0.4",
"babel-plugin-defines": "^3.0.0",
"babel-plugin-discard-module-references": "^1.0.0",
"babel-plugin-remove-dead-code": "^1.1.0",
"babel-plugin-typecheck": "^3.9.0",
"babel-preset-es2015-node6": "^0.2.0",
"babel-preset-es2015-webpack": "^6.4.1",
"babel-preset-flow": "^1.0.0",
"babel-preset-modern-browsers": "^5.0.2",
"babel-preset-modern-browsers-stage-1": "^1.0.0",
"babel-preset-stage-1": "^6.5.0",
"eslint": "^3.1.0",
"eslint-config-airbnb-base": "^4.0.2",
"eslint-config-pob": "^6.1.1",
"eslint-plugin-import": "^1.10.1",
"istanbul": "^0.4.3",
"mocha": "^2.4.5",
"pob-babel": "^2.0.0",
"pob-release": "^2.0.5",
"babel-eslint": "^7.0.0",
"babel-preset-es2015": "^6.16.0",
"babel-preset-es2015-node6": "^0.3.0",
"babel-preset-modern-browsers": "^6.0.0",
"eslint": "^3.6.1",
"eslint-config-airbnb-base": "^8.0.0",
"eslint-config-pob": "^7.6.0",
"eslint-plugin-babel": "^3.3.0",
"eslint-plugin-import": "^1.16.0",
"istanbul": "^0.4.5",
"komet": "^0.1.3",
"komet-karma": "^0.2.1",
"mocha": "^3.1.0",
"pob-babel": "^9.0.0",
"pob-release": "^2.2.2",
"tcomb-forked": "^3.4.0",
"xunit-file": "^1.0.0"
}
}
Oops, something went wrong.

0 comments on commit fdd7076

Please sign in to comment.