-
Notifications
You must be signed in to change notification settings - Fork 112
Closed
Description
Is your feature request related to a problem? Please describe.
The scripts written in base-package.json are not in order and does not follow a naming standard.
Link: https://github.com/awslabs/smithy-typescript/blob/80aa80a0c7faa106ff288969cd68b77ae1792925/smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/base-package.json#L5-L16
Describe the solution you'd like
- Follow the naming standard used by
build- rename
remove-definitionstoclean:types - rename
remove-disttoclean:dist - rename
remove-documentationtoclean:docs - rename
build-documentationtobuild:docs
- rename
- Arrange the scripts in lexicographical order as follows:
{
"build": "yarn build:cjs && yarn build:es",
"build:cjs": "tsc -p tsconfig.json",
"build:docs": "yarn clean:docs && typedoc ./",
"build:es": "tsc -p tsconfig.es.json",
"clean": "yarn clean:types && yarn clean:dist && yarn clean:docs",
"clean:types": "rimraf ./types",
"clean:dist": "rimraf ./dist",
"clean:docs": "rimraf ./docs",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"test": "jest --coverage --passWithNoTests"
}Metadata
Metadata
Assignees
Labels
No labels