Skip to content

Commit

Permalink
chore: build with .js extension and without bundling (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
ph-fritsche committed Aug 1, 2022
1 parent f60c89b commit fd8f219
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 35 deletions.
24 changes: 0 additions & 24 deletions build.js

This file was deleted.

14 changes: 3 additions & 11 deletions package.json
Expand Up @@ -25,17 +25,8 @@
"files": [
"dist"
],
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"exports": {
".": {
"require": "./dist/index.cjs",
"default": "./dist/index.mjs"
}
},
"types": "./dist/types/index.d.ts",
"scripts": {
"build": "node build.js",
"build": "scripts ts-build2 --cjs",
"lint": "kcd-scripts lint",
"setup": "npm install && npm run validate -s",
"test": "kcd-scripts test",
Expand All @@ -45,12 +36,12 @@
"typecheck": "kcd-scripts typecheck"
},
"devDependencies": {
"@ph.fritsche/scripts-config": "^2.2.4",
"@testing-library/dom": "^8.11.4",
"@testing-library/jest-dom": "^5.16.3",
"@testing-library/react": "^13.0.0",
"@types/jest-in-case": "^1.0.3",
"@types/react": "^17.0.42",
"esbuild": "^0.14.27",
"eslint-import-resolver-typescript": "^2.7.0",
"eslint-plugin-local-rules": "^1.1.0",
"is-ci": "^3.0.1",
Expand All @@ -63,6 +54,7 @@
"reactDom17": "npm:react-dom@^17.0.2",
"reactIs17": "npm:react-is@^17.0.2",
"reactTesting17": "npm:@testing-library/react@^12.1.3",
"shared-scripts": "^1.5.1",
"typescript": "^4.1.2"
},
"peerDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions scripts.config.js
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@ph.fritsche/scripts-config'],
}

0 comments on commit fd8f219

Please sign in to comment.