Skip to content

Commit

Permalink
version bumps (#12)
Browse files Browse the repository at this point in the history
* version bumps

* bump node
  • Loading branch information
bobaaaaa authored Aug 29, 2019
1 parent 359ca31 commit 51cc774
Show file tree
Hide file tree
Showing 6 changed files with 845 additions and 1,918 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
docker:
# specify the version you desire here
# documented at https://circleci.com/docs/2.0/circleci-images/
- image: circleci/node:10.15-stretch-browsers
- image: circleci/node:10.16.3-stretch-browsers

steps:
- checkout
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
.env.test.local
.env.production.local
.vscode
.rpt2_cache

npm-debug.log*
yarn-debug.log*
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v10.16.3
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,35 +34,35 @@
"prettier": "prettier --write 'src/**/*.{ts,js,json}'"
},
"devDependencies": {
"@types/chai": "4.1.7",
"@types/chai": "4.2.0",
"@types/karma": "3.0.3",
"@types/mocha": "5.2.7",
"@types/sinon": "7.0.13",
"@types/sinon-chai": "3.2.2",
"@types/sinon-chai": "3.2.3",
"chai": "4.2.0",
"husky": "3.0.0",
"karma": "4.1.0",
"karma-chrome-launcher": "2.2.0",
"husky": "3.0.4",
"karma": "4.3.0",
"karma-chrome-launcher": "3.1.0",
"karma-mocha": "1.3.0",
"karma-typescript": "4.1.1",
"lint-staged": "9.1.0",
"mocha": "6.1.4",
"lint-staged": "9.2.5",
"mocha": "6.2.0",
"prettier": "1.18.2",
"release-it": "12.3.2",
"rollup": "1.16.7",
"rollup-plugin-commonjs": "10.0.1",
"rollup-plugin-filesize": "6.1.1",
"release-it": "12.3.6",
"rollup": "1.20.3",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-filesize": "6.2.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-terser": "5.1.1",
"rollup-plugin-typescript2": "0.21.2",
"rollup-plugin-typescript2": "0.24.0",
"rollup-plugin-uglify": "6.0.2",
"sinon": "7.3.2",
"sinon": "7.4.1",
"sinon-chai": "3.3.0",
"tslint": "5.18.0",
"tslint": "5.19.0",
"tslint-config-prettier": "1.18.0",
"tslint-microsoft-contrib": "6.2.0",
"tslint-no-unused-expression-chai": "0.1.4",
"typescript": "3.5.3"
"typescript": "3.6.2"
},
"lint-staged": {
"src/**/*.ts": [
Expand Down
47 changes: 24 additions & 23 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
import typescript from 'rollup-plugin-typescript2';
import {
uglify
} from 'rollup-plugin-uglify';
import {
terser
} from 'rollup-plugin-terser';
import { uglify } from 'rollup-plugin-uglify';
import { terser } from 'rollup-plugin-terser';
import filesize from 'rollup-plugin-filesize';
import pkg from './package.json';
import {
typescript as tsc
} from 'typescript';
import { typescript as tsc } from 'typescript';

const defaultPlugins = [
resolve(),
Expand All @@ -23,29 +17,36 @@ const defaultPlugins = [
filesize()
];

export default [{
export default [
{
input: 'src/index.ts',
output: [{
file: pkg.main,
format: 'cjs'
}],
output: [
{
file: pkg.main,
format: 'cjs'
}
],
plugins: [...defaultPlugins, uglify()]
},
{
input: 'src/index.ts',
output: [{
file: pkg.browser,
name: 'sticky',
format: 'iife'
}],
output: [
{
file: pkg.browser,
name: 'sticky',
format: 'iife'
}
],
plugins: [...defaultPlugins, uglify()]
},
{
input: 'src/index.ts',
output: [{
file: pkg.module,
format: 'es'
}],
output: [
{
file: pkg.module,
format: 'es'
}
],
plugins: [
...defaultPlugins,
terser({
Expand Down
Loading

0 comments on commit 51cc774

Please sign in to comment.