Conduitry
/
contexty
Archived
1
Fork 0

freshen some things

This commit is contained in:
Conduitry 2018-11-09 09:02:33 -05:00
parent 49c2908cef
commit 2fe58ae715
7 changed files with 24 additions and 1135 deletions

7
.gitignore vendored
View File

@ -1,2 +1,5 @@
/dist/
/node_modules/
/dist
/node_modules
/package-lock.json
/shrinkwrap.yaml
/yarn.lock

4
.prettierrc.yaml Normal file
View File

@ -0,0 +1,4 @@
useTabs: true
semi: false
singleQuote: true
trailingComma: all

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2017 Conduitry
Copyright (c) 2017-2018 Conduitry
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -111,6 +111,6 @@ On event: 3
## License
Copyright (c) 2017 Conduitry
Copyright (c) 2017-2018 Conduitry
- [MIT](https://github.com/Conduitry/contexty/blob/master/LICENSE)
- [MIT](LICENSE)

1117
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,14 +8,10 @@
"dist"
],
"scripts": {
"build": "rollup -c",
"lint": "eslint src rollup.config.js",
"format": "prettier --write --use-tabs --no-semi --single-quote --trailing-comma es5 \"src/**/*.js\" \"*.js\""
"build": "rollup -c"
},
"devDependencies": {
"eslint": "^4.2.0",
"prettier": "^1.5.3",
"rollup": "^0.45.2"
"rollup": "*"
},
"engines": {
"node": ">=8.2.0"
@ -29,5 +25,5 @@
"bugs": {
"url": "https://github.com/Conduitry/contexty/issues"
},
"homepage": "https://contexty.unwieldy.org"
"homepage": "https://conduitry.io/contexty"
}

View File

@ -1,10 +1,13 @@
export default {
entry: './src/index.js',
input: './src/index.js',
external: ['async_hooks'],
interop: false,
sourceMap: true,
targets: [
{ dest: './dist/index.cjs.js', format: 'cjs' },
{ dest: './dist/index.es.js', format: 'es' },
output: [
{
file: 'dist/index.cjs.js',
format: 'cjs',
interop: false,
sourcemap: true,
},
{ file: 'dist/index.es.js', format: 'es', sourcemap: true },
],
}