Skip to content

Commit 3aee809

Browse files
authored
chore: sort npm scripts and follow naming standard (#430)
1 parent 66c3f3e commit 3aee809

File tree

1 file changed

+7
-8
lines changed
  • smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen

1 file changed

+7
-8
lines changed

smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/base-package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,16 @@
33
"description": "${packageDescription}",
44
"version": "${packageVersion}",
55
"scripts": {
6-
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7-
"build-documentation": "yarn remove-documentation && typedoc ./",
8-
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
9-
"remove-definitions": "rimraf ./types",
10-
"remove-dist": "rimraf ./dist",
11-
"remove-documentation": "rimraf ./docs",
12-
"test": "jest --coverage --passWithNoTests",
6+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
137
"build:cjs": "tsc -p tsconfig.json",
8+
"build:docs": "yarn clean:docs && typedoc ./",
149
"build:es": "tsc -p tsconfig.es.json",
1510
"build:types": "tsc -p tsconfig.types.json",
16-
"build": "yarn build:cjs && yarn build:es && yarn build:types"
11+
"clean": "yarn clean:dist && yarn clean:docs",
12+
"clean:dist": "rimraf ./dist",
13+
"clean:docs": "rimraf ./docs",
14+
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
15+
"test": "jest --coverage --passWithNoTests"
1716
},
1817
"main": "./dist/cjs/index.js",
1918
"types": "./dist/types/index.d.ts",

0 commit comments

Comments
 (0)