Skip to content

Commit

Permalink
feat: update codebase (#26)
Browse files Browse the repository at this point in the history
* chore: update package.json

* fix: .babelrc

* feat: eslint

* feat: webpack setup

* fix: remove package-lock.json

* fix: format index.html

* fix: lint sntools

* fix: add globals to eslint config

* fix: index.html title

* fix: replace moment with dayjs, dev server, and code improvements

* fix: update README

* chore: build

Co-authored-by: Johnny Almonte <[email protected]>
  • Loading branch information
johnny243 and johnny243 authored Apr 2, 2021
1 parent b26f6bf commit ead6c13
Show file tree
Hide file tree
Showing 18 changed files with 5,642 additions and 6,690 deletions.
4 changes: 3 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"presets": ["env"]
"presets": [
"@babel/preset-env"
]
}
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules/**
**/*.css
**/*.html
dist/**
webpack.*
17 changes: 17 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": [
"@standardnotes/eslint-config-extensions"
],
"parserOptions": {
"ecmaVersion": 11
},
"globals": {
"ActiveXObject": true,
"CDATASection": true
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
bower_components
.DS_Store
dist/index.html
68 changes: 0 additions & 68 deletions Gruntfile.js

This file was deleted.

10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# sntools

## Development

To run locally:

1. Clone the project
2. run `npm install`
2. run `grunt`
3. Open index.html to test.
2. Run `yarn` to install dependencies
2. Run `yarn start` to start dev server
3. Open [http://localhost:8081/](http://localhost:8081)
383 changes: 210 additions & 173 deletions dist/sntools.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions dist/sntools.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit ead6c13

Please sign in to comment.