Skip to content

Commit

Permalink
Scan JS Package: Remove references to build step
Browse files Browse the repository at this point in the history
changelog
  • Loading branch information
nateweller committed Nov 19, 2024
1 parent 01fd8c9 commit e5e11bb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 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.
17 changes: 7 additions & 10 deletions projects/js-packages/scan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
},
"license": "GPL-2.0-or-later",
"author": "Automattic",
"type": "module",
"scripts": {
"build": "pnpm run clean && pnpm run compile-ts",
"clean": "rm -rf build/",
"compile-ts": "tsc --pretty",
"test": "jest",
"test-coverage": "pnpm run test --coverage"
},
"type": "module",
"devDependencies": {
"@automattic/jetpack-webpack-config": "workspace:*",
"@babel/core": "7.26.0",
Expand All @@ -41,15 +41,6 @@
"storybook": "8.3.5",
"typescript": "5.0.4"
},
"exports": {
".": {
"jetpack:src": "./src/index.ts",
"types": "./build/index.d.ts",
"default": "./build/index.js"
}
},
"main": "./build/index.js",
"types": "./build/index.d.ts",
"dependencies": {
"@automattic/jetpack-api": "workspace:*",
"@automattic/jetpack-base-styles": "workspace:*",
Expand All @@ -65,5 +56,11 @@
"@wordpress/i18n": "5.11.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"exports": {
".": {
"types": "./src/index.d.ts",
"default": "./src/index.ts"
}
}
}

0 comments on commit e5e11bb

Please sign in to comment.