This repository was archived by the owner on Jun 2, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 7
7
"type" : " git" ,
8
8
"url" : " https://github.com/csvenke/react-semantics.git"
9
9
},
10
- "main" : " index.ts" ,
11
- "types" : " index.d.ts" ,
10
+ "main" : " dist/index.ts" ,
11
+ "types" : " dist/index.d.ts" ,
12
+ "files" : [
13
+ " dist"
14
+ ],
12
15
"private" : false ,
13
16
"license" : " MIT" ,
14
17
"keywords" : [
47
50
"typescript" : " ^2.9.2"
48
51
},
49
52
"scripts" : {
50
- "build" : " npm run clean:build && npm run lint && npm run prettify && npm run test && tsc -p ./tsconfig.build.json && cp ./package.json ./dist/lib " ,
51
- "clean:build" : " rimraf ./dist/lib " ,
52
- "dist " : " cd ./dist/lib && npm publish " ,
53
+ "build" : " npm run clean:build && npm run lint && npm run prettify && npm run test && tsc -p ./tsconfig.build.json" ,
54
+ "clean:build" : " rimraf ./dist" ,
55
+ "prepublish " : " npm run build " ,
53
56
"lint" : " tslint -c tslint.json './src/**/*'" ,
54
57
"lintfix" : " tslint -c tslint.json --fix './src/**/*'" ,
55
58
"prettify" : " prettier -c .prettierrc --write \" src/**/*.@(ts|tsx)\" " ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"extends" : " ./tsconfig.json" ,
3
3
"compilerOptions" : {
4
- "outDir" : " dist/lib " ,
4
+ "outDir" : " dist" ,
5
5
"sourceMap" : false ,
6
6
"declaration" : true ,
7
7
"removeComments" : false
You can’t perform that action at this time.
0 commit comments