Skip to content

Commit

Permalink
chore: bump deps version
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Apr 28, 2017
1 parent 61c7de1 commit 663580a
Show file tree
Hide file tree
Showing 5 changed files with 2,664 additions and 39 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ jsconfig.json
coverage
dist
spec-js
yarn.lock
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,37 +49,37 @@
"reactivedb": "~0.9.0"
},
"devDependencies": {
"@types/chai": "^3.4.34",
"@types/chai": "^3.5.1",
"@types/lovefield": "^2.0.32",
"@types/node": "^7.0.3",
"@types/sinon": "^1.16.34",
"@types/node": "^7.0.14",
"@types/sinon": "^2.1.3",
"@types/sinon-chai": "^2.7.27",
"chai": "^3.5.0",
"coveralls": "^2.11.15",
"engine.io-client": "^2.0.0",
"fetch-mock": "^5.8.1",
"google-closure-compiler-js": "^20161201.0.1",
"coveralls": "^2.13.1",
"engine.io-client": "^3.1.0",
"fetch-mock": "^5.10.0",
"google-closure-compiler-js": "^20170423.0.0",
"isomorphic-fetch": "^2.2.1",
"jsonrpc-lite": "^1.2.1",
"madge": "^1.5.0",
"moment": "^2.16.0",
"node-watch": "^0.4.1",
"nyc": "^10.1.2",
"rollup": "^0.41.4",
"rollup-plugin-alias": "^1.2.0",
"rollup-plugin-commonjs": "^7.0.0",
"rollup-plugin-node-resolve": "^2.0.0",
"jsonrpc-lite": "^1.2.3",
"madge": "^1.6.0",
"moment": "^2.18.1",
"node-watch": "^0.5.2",
"nyc": "^10.2.0",
"rollup": "^0.41.6",
"rollup-plugin-alias": "^1.3.1",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"rrule": "github:teambition/rrule#v2.2.4",
"rxjs": "^5.2.0",
"sinon": "^1.17.7",
"sinon-chai": "^2.8.0",
"snapper-consumer": "^1.3.2",
"rxjs": "^5.3.0",
"sinon": "^2.1.0",
"sinon-chai": "^2.9.0",
"snapper-consumer": "^1.3.4",
"teambition-sdk-mock": "^0.6.8",
"tman": "^1.6.6",
"ts-node": "^2.0.0",
"tslib": "^1.6.0",
"tslint": "^4.3.1",
"tslint-eslint-rules": "^3.2.3",
"typescript": "^2.2.1"
"ts-node": "^3.0.2",
"tslib": "^1.6.1",
"tslint": "^5.1.0",
"tslint-eslint-rules": "^4.0.0",
"typescript": "^2.3.1"
}
}
17 changes: 9 additions & 8 deletions tools/tasks/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ export function bundle (entry: string, output: string, name: string) {
}),
nodeResolve({
jsnext: false,
main: true,
skip: ['lovefield']
main: true
}),
commonjs({
exclude: [ 'dist/es6/**', 'dist/mock-es6/**', 'node_modules/lovefield/**' ]
Expand Down Expand Up @@ -44,7 +43,7 @@ export function bundle (entry: string, output: string, name: string) {
.then(() => {
const source = fs.readFileSync(path.resolve(process.cwd(), output), 'utf8')
const compilerFlags = {
jsCode: [{src: source}],
jsCode: [{ src: source }],
compilationLevel: 'ADVANCED',
languageIn: 'ES5',
createSourceMap: true,
Expand All @@ -54,16 +53,18 @@ export function bundle (entry: string, output: string, name: string) {
const code = result.compiledCode
fs.writeFileSync(minPath, code, 'utf8')
fs.writeFileSync(`${minPath}.map`, result.sourceMap, 'utf8')
console.log(blue(minPath) + ' ' + getSize(code))
console.info(blue(minPath) + ' ' + getSize(code))
})
.catch(e => console.error(e.stack))
}

export function write (dest: string, code: string) {
return new Promise(function (resolve, reject) {
fs.writeFile(dest, code, function (err) {
if (err) return reject(err)
console.log(blue(dest) + ' ' + getSize(code))
return new Promise((resolve, reject) => {
fs.writeFile(dest, code, (err) => {
if (err) {
return reject(err)
}
console.info(blue(dest) + ' ' + getSize(code))
resolve()
})
})
Expand Down
8 changes: 3 additions & 5 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"rulesDirectory": "node_modules/tslint-eslint-rules/dist/rules",
"extends": ["tslint-eslint-rules"],
"rules": {
"curly": true,
"eofline": true,
Expand All @@ -15,10 +15,7 @@
"no-debugger": true,
"no-var-keyword": true,
"no-empty": true,
"no-unused-expression": true,
"no-unused-new": true,
"no-eval": true,
"no-use-before-declare": true,
"no-var-requires": false,
"no-require-imports": false,
"no-shadowed-variable": true,
Expand All @@ -30,7 +27,8 @@
"prefer-const": true,
"quotemark": [true,
"single",
"avoid-escape"],
"avoid-escape",
"jsx-single"],
"semicolon": [true, "never"],
"ter-prefer-arrow-callback": true,
"typedef-whitespace": [true, {
Expand Down
Loading

0 comments on commit 663580a

Please sign in to comment.