Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.5.0 #2

Merged
merged 4 commits into from
May 15, 2020
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true
# root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
# [*]
# charset = utf-8
# indent_style = space
# indent_size = 2
# insert_final_newline = true
# trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
# [*.md]
# max_line_length = off
# trim_trailing_whitespace = false
11 changes: 0 additions & 11 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"prettier/@typescript-eslint"
],
"plugins": [
@@ -14,15 +13,5 @@
"parserOptions": {
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"semi": true,
"printWidth": 100
}
]
}
}
4 changes: 4 additions & 0 deletions .prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
singleQuote: true,
trailingComma: 'all',
}
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// index.ts
22 changes: 9 additions & 13 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
const path = require('path');
const GasPlugin = require("gas-webpack-plugin");
const path = require('path')
const GasPlugin = require('gas-webpack-plugin')

module.exports = {
mode: 'development',
entry: './src/index.ts',
devtool: false,
output: {
filename: 'bundle.js',
path: path.join(__dirname, 'dist')
path: path.join(__dirname, 'dist'),
},
module: {
rules: [
{
test: /\.ts$/,
use: 'ts-loader'
}
]
use: 'ts-loader',
},
],
},
resolve: {
extensions: [
'.ts'
]
extensions: ['.ts'],
},
plugins: [
new GasPlugin()
]
};
plugins: [new GasPlugin()],
}