This repository was archived by the owner on Dec 28, 2020. It is now read-only.
File tree 5 files changed +638
-13
lines changed
5 files changed +638
-13
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ module.exports = {
22
22
"plugin:@typescript-eslint/recommended-requiring-type-checking"
23
23
] ,
24
24
"rules" : {
25
+ "@typescript-eslint/member-delimiter-style" : "off" ,
26
+ "@typescript-eslint/camelcase" : "off" ,
25
27
"prettier/prettier" : "error" ,
26
28
}
27
29
} ;
Original file line number Diff line number Diff line change 2
2
"semi": false,
3
3
"printWidth": 80,
4
4
"singleQuote": true,
5
- "tabWidth": 2 ,
5
+ "tabWidth": 4 ,
6
6
"trailingComma": "none"
7
7
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "watch" : [" ./src" ],
3
+ "ext" : " ts" ,
4
+ "ignore" : [" *.test.ts" ],
5
+ "execMap" : {
6
+ "ts" : " ts-node"
7
+ }
8
+ }
Original file line number Diff line number Diff line change 2
2
"name" : " blockchain" ,
3
3
"version" : " 1.0.0" ,
4
4
"description" : " Build an OOP blockchain using typescript" ,
5
- "main" : " index.js" ,
5
+ "main" : " dist/ index.js" ,
6
6
"author" :
" Julien <[email protected] >" ,
7
7
"license" : " MIT" ,
8
8
"scripts" : {
9
+ "start" : " node dist/server.js" ,
10
+ "dev" : " nodemon src/index.ts 3000" ,
9
11
"tsc" : " tsc" ,
10
- "dev " : " tsc --watch " ,
11
- "lint" : " eslint . --ext .ts,.tsx "
12
+ "tsc:watch " : " tsc -w " ,
13
+ "lint" : " eslint . --ext .ts"
12
14
},
13
15
"dependencies" : {},
14
16
"devDependencies" : {
22
24
"eslint-plugin-jsx-a11y" : " ^6.2.3" ,
23
25
"eslint-plugin-prettier" : " ^3.1.2" ,
24
26
"eslint-plugin-react" : " ^7.19.0" ,
27
+ "nodemon" : " ^2.0.3" ,
25
28
"prettier" : " ^2.0.4" ,
29
+ "ts-node" : " ^8.8.2" ,
26
30
"typescript" : " ^3.8.3"
27
31
}
28
32
}
You can’t perform that action at this time.
0 commit comments