visit www.actionherojs.com for more information
(assuming you have node, TypeScript, and NPM installed)
npm install
npm start
npm test
I need JWT auth into my skeleton app. So I cloned react-redux-jwt-authentication-example and update to let it work with my codebase.
npm run knex migrate:make create-users
Migration cheatsheet into knex/README.md
I using tslint-microsoft-contrib converted to eslint with tslint-to-eslint-config. This project already have .eslint.rc
file.
How I did this:
- install microsoft-contrib with
npm install tslint-microsoft-contrib --save-dev
and add config filetslint.json
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-microsoft-contrib/recommended"],
"jsRules": {
"no-unused-expression": true
},
"rules": {
"quotemark": [true, "single"],
"member-access": [false],
"ordered-imports": [false],
"max-line-length": [true, 150],
"member-ordering": [false],
"interface-name": [false],
"arrow-parens": false,
"object-literal-sort-keys": false,
"no-submodule-imports": false,
"export-name": false,
"no-relative-imports": false
},
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"]
}
- install tslint packages
npm i typescript tslint -D
and convert tslint config to eslint
npx tslint-to-eslint-config
- remove all packages that we don't need after converting:
npm remove typescript tslint tslint-microsoft-contrib -D
and remove files tslint-to-eslint-config.log
and tslint.json
- remove rules for react a11y etc.