File tree 2 files changed +13
-3
lines changed
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change
1
+ src
2
+ tsconfig.json
3
+ tslint.json
4
+ .prettierrc
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " http-context-nodejs" ,
3
3
"version" : " 1.0.0" ,
4
- "description" : " " ,
4
+ "description" : " Get and set request-scoped context anywhere, and use it in any framework. " ,
5
5
"main" : " lib/index.js" ,
6
- "types" : " lib" ,
6
+ "types" : " lib/index.d.ts" ,
7
+ "files" : [" lib/**/*" ],
7
8
"scripts" : {
8
9
"test" : " mocha -r ts-node/register test/*.ts" ,
9
10
"build" : " tsc" ,
10
11
"format" : " prettier --write \" src/**/*.ts\" \" src/**/*.js\" " ,
11
- "lint" : " tslint -p tsconfig.json"
12
+ "lint" : " tslint -p tsconfig.json" ,
13
+ "prepare" : " npm run build" ,
14
+ "prepublishOnly" : " npm test && npm run lint" ,
15
+ "preversion" : " npm run lint" ,
16
+ "version" : " npm run format && git add -A src" ,
17
+ "postversion" : " git push && git push --tags"
12
18
},
13
19
"repository" : {
14
20
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments