From 1a7ec8337c38c35562eacde1d5ce7b134680a63e Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford <7019101+cwillisf@users.noreply.github.com> Date: Fri, 8 Mar 2024 07:41:13 -0800 Subject: [PATCH] chore: npm init and some dotfiles --- .editorconfig | 14 ++++++++++++++ .gitattributes | 1 + README.md | 3 ++- package.json | 23 +++++++++++++++++++++++ 4 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 .editorconfig create mode 100644 .gitattributes create mode 100644 package.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ff2547a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_size = 4 +trim_trailing_whitespace = true + +[*.js] +indent_style = space + +[package.json] +indent_size = 2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6313b56 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf diff --git a/README.md b/README.md index 77c5f57..02fce66 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # scratch-webpack-configuration -Centralized configuration for Scratch's use of webpack + +Shared configuration for Scratch's use of webpack diff --git a/package.json b/package.json new file mode 100644 index 0000000..f305f59 --- /dev/null +++ b/package.json @@ -0,0 +1,23 @@ +{ + "name": "scratch-webpack-configuration", + "version": "1.0.0", + "description": "Shared configuration for Scratch's use of webpack", + "main": "src/index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/scratchfoundation/scratch-webpack-configuration.git" + }, + "keywords": [ + "Scratch", + "webpack" + ], + "author": "Scratch Foundation", + "license": "BSD-3-Clause", + "bugs": { + "url": "https://github.com/scratchfoundation/scratch-webpack-configuration/issues" + }, + "homepage": "https://github.com/scratchfoundation/scratch-webpack-configuration#readme" +}