File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 99 "lint" : " ESLINT_USE_FLAT_CONFIG=false eslint . --ext .ts" ,
1010 "lint:fix" : " ESLINT_USE_FLAT_CONFIG=false eslint . --ext .ts --fix" ,
1111 "build" : " npm run clean && npm run compile && npm run postcompile" ,
12- "copy-esm-files" : " copyfiles 'src/**/*.mjs' build && copyfiles 'test/**/*.mjs' build" ,
12+ "copy-esm-files" : " copyfiles -f 'src/**/*.mjs' build/workspace && copyfiles 'test/**/*.mjs' build" ,
1313 "pretest" : " npm run compile" ,
1414 "test:cjs" : " mocha 'test/**/*.spec.ts' --exclude 'test/**/*.spec.mjs' --timeout 10000" ,
1515 "test:esm" : " mocha 'test/**/*.spec.mjs' --exclude 'test/**/*.spec.ts' --timeout 10000" ,
1616 "test" : " npm run test:cjs && npm run test:esm" ,
17- "compile" : " esbuild --bundle --target=es2022 --platform=node --format=cjs --sourcemap --minify src/wrapper.ts --outfile=build/workspace /wrapper.js --external:@aws-sdk/*" ,
18- "postcompile" : " npm run copy-esm-files && copyfiles -f 'scripts/*' build/workspace && cd build/workspace && bestzip ../layer.zip *"
17+ "compile" : " esbuild --bundle --target=es2022 --platform=node --format=cjs --sourcemap --minify src/wrapper.ts --outfile=build/src /wrapper.js --external:@aws-sdk/*" ,
18+ "postcompile" : " npm run copy-esm-files && copyfiles -f 'scripts/*' build/workspace && copyfiles -f 'build/src/*.js' build/workspace && cd build/workspace && bestzip ../layer.zip *"
1919 },
2020 "keywords" : [
2121 " opentelemetry" ,
You can’t perform that action at this time.
0 commit comments