Skip to content

Commit

Permalink
Scan JS Package: Remove references to build step
Browse files Browse the repository at this point in the history
Co-authored-by: Brad Jorsch <[email protected]>
  • Loading branch information
nateweller and anomiex committed Nov 22, 2024
1 parent e0c750f commit dd078d8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 4 additions & 0 deletions projects/js-packages/scan/changelog/remove-build
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Fixed configuration issues in the package.json file.
12 changes: 5 additions & 7 deletions projects/js-packages/scan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"license": "GPL-2.0-or-later",
"author": "Automattic",
"scripts": {
"build": "pnpm run clean && pnpm run compile-ts",
"clean": "rm -rf build/",
"build": "pnpm run compile-ts",
"compile-ts": "tsc --pretty",
"test": "jest",
"test-coverage": "pnpm run test --coverage"
Expand All @@ -43,13 +42,12 @@
},
"exports": {
".": {
"jetpack:src": "./src/index.ts",
"types": "./build/index.d.ts",
"default": "./build/index.js"
"types": "./src/types/index.ts",
"default": "./src/index.ts"
}
},
"main": "./build/index.js",
"types": "./build/index.d.ts",
"main": "./src/index.ts",
"types": "./src/types/index.ts",
"dependencies": {
"@automattic/jetpack-api": "workspace:*",
"@automattic/jetpack-base-styles": "workspace:*",
Expand Down

0 comments on commit dd078d8

Please sign in to comment.