Skip to content

Commit 60b4d42

Browse files
authored
chore(package.json): sort npm scripts (#3164)
1 parent dadf6fd commit 60b4d42

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,38 @@
55
"description": "AWS SDK for JavaScript from the future",
66
"main": "index.js",
77
"scripts": {
8-
"copy-models": "node ./scripts/copy-models",
9-
"generate-clients": "node ./scripts/generate-clients",
10-
"generate:clients:generic": "node ./scripts/generate-clients/generic",
118
"bootstrap": "yarn",
129
"bootstrap:ci": "yarn install --frozen-lockfile",
13-
"clean": "yarn clear-build-cache && yarn clear-build-info && lerna clean",
14-
"clear-build-cache": "rimraf ./packages/*/dist-* ./clients/*/dist-* ./lib/*/dist-* ./private/*/dist-*",
15-
"clear-build-info": "rimraf ./packages/**/*.tsbuildinfo ./clients/**/*.tsbuildinfo ./lib/**/*.tsbuildinfo ./private/**/*.tsbuildinfo",
10+
"build:all": "yarn build:crypto-dependencies && lerna run build",
1611
"build:clients:generic": "lerna run --scope '@aws-sdk/aws-echo-service' --include-dependencies build",
17-
"build:packages": "lerna run build --ignore '@aws-sdk/client-*' --ignore '@aws-sdk/aws-*' --ignore '@aws-sdk/lib-*' --include-dependencies",
12+
"build:clients:since:release": "yarn build:packages && lerna run build $(lerna changed | grep -e '@aws-sdk/[client|lib]-*' | sed 's/^/ --scope /' | tr '\n' ' ')",
1813
"build:crypto-dependencies": "lerna run --scope '@aws-sdk/{types,util-utf8-browser,util-locate-window,hash-node}' --include-dependencies build",
14+
"build:docs": "typedoc",
15+
"build:packages": "lerna run build --ignore '@aws-sdk/client-*' --ignore '@aws-sdk/aws-*' --ignore '@aws-sdk/lib-*' --include-dependencies",
1916
"build:protocols": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/aws-protocoltests-*' --include-dependencies build",
2017
"build:server-protocols": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/*-server' --include-dependencies build",
21-
"build:clients:since:release": "yarn build:packages && lerna run build $(lerna changed | grep -e '@aws-sdk/[client|lib]-*' | sed 's/^/ --scope /' | tr '\n' ' ')",
22-
"build:all": "yarn build:crypto-dependencies && lerna run build",
2318
"build:types:downlevel": "node --es-module-specifier-resolution=node ./scripts/downlevel-dts",
24-
"build:docs": "typedoc",
19+
"clean": "yarn clear-build-cache && yarn clear-build-info && lerna clean",
20+
"clear-build-cache": "rimraf ./packages/*/dist-* ./clients/*/dist-* ./lib/*/dist-* ./private/*/dist-*",
21+
"clear-build-info": "rimraf ./packages/**/*.tsbuildinfo ./clients/**/*.tsbuildinfo ./lib/**/*.tsbuildinfo ./private/**/*.tsbuildinfo",
22+
"copy-models": "node ./scripts/copy-models",
23+
"generate-clients": "node ./scripts/generate-clients",
24+
"generate:clients:generic": "node ./scripts/generate-clients/generic",
25+
"lerna:version": "lerna version --exact --conventional-commits --no-push --no-git-tag-version --no-commit-hooks --loglevel silent --no-private --yes",
26+
"local-publish": "node ./scripts/verdaccio-publish/index.js",
2527
"pretest:all": "yarn build:all",
28+
"pretest:e2e": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/{client-cloudformation,karma-credential-loader}' --include-dependencies build",
2629
"test:all": "jest --coverage --passWithNoTests && lerna run test --scope '@aws-sdk/{fetch-http-handler,hash-blob-browser}' && yarn test:versions",
30+
"test:e2e": "node ./tests/e2e/index.js",
2731
"test:functional": "jest --config tests/functional/jest.config.js",
32+
"test:integration": "jest --config jest.config.integ.js --passWithNoTests",
2833
"test:integration:legacy": "cucumber-js --fail-fast",
2934
"test:integration:legacy:since:release": "./tests/integ-legacy/index.js",
30-
"test:integration": "jest --config jest.config.integ.js --passWithNoTests",
3135
"test:protocols": "yarn build:protocols && lerna run test --scope '@aws-sdk/aws-protocoltests-*'",
3236
"test:server-protocols": "yarn build:server-protocols && lerna run test --scope '@aws-sdk/*-server'",
33-
"pretest:e2e": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/{client-cloudformation,karma-credential-loader}' --include-dependencies build",
34-
"test:e2e": "node ./tests/e2e/index.js",
35-
"test:versions": "jest --config tests/versions/jest.config.js tests/versions/index.spec.ts",
3637
"test:size": "cd scripts/benchmark-size/runner && yarn && ./cli.ts",
37-
"local-publish": "node ./scripts/verdaccio-publish/index.js",
38-
"lerna:version": "lerna version --exact --conventional-commits --no-push --no-git-tag-version --no-commit-hooks --loglevel silent --no-private --yes",
39-
"test:unit": "jest --config jest.config.js"
38+
"test:unit": "jest --config jest.config.js",
39+
"test:versions": "jest --config tests/versions/jest.config.js tests/versions/index.spec.ts"
4040
},
4141
"repository": {
4242
"type": "git",

0 commit comments

Comments
 (0)