This repository was archived by the owner on Sep 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
_templates/generator/tooling Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ to: tooling/<%=h.changeCase.paramCase(name)%>/package.json
20
20
"build": "rimraf ./dist && concurrently yarn:build:*",
21
21
"build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps",
22
22
"build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps",
23
+ "build:types": "cross-env tsc --emitDeclarationOnly --declaration --declarationDir dist/types",
23
24
"watch": "concurrently yarn:watch:*",
24
25
"watch:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps --watch",
25
26
"watch:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps --watch",
Original file line number Diff line number Diff line change 16
16
"build" : " rimraf ./dist && concurrently yarn:build:*" ,
17
17
"build:esm" : " cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps" ,
18
18
"build:cjs" : " cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps" ,
19
+ "build:types" : " cross-env tsc --emitDeclarationOnly --declaration --declarationDir dist/types" ,
19
20
"watch" : " concurrently yarn:watch:*" ,
20
21
"watch:esm" : " cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps --watch" ,
21
22
"watch:cjs" : " cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps --watch" ,
You can’t perform that action at this time.
0 commit comments