Skip to content

Commit

Permalink
fix: Updated types layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShogunPanda committed Oct 12, 2022
1 parent a6bc74b commit 92c8740
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@
},
"type": "module",
"exports": "./dist/index.js",
"typings": "./types/index.d.ts",
"types": "./types/index.d.ts",
"types": "./dist/index.d.ts",
"scripts": {
"dev": "swc -s -w -d dist src",
"prebuild": "rm -rf dist types && npm run typecheck && npm run lint",
"build": "swc --delete-dir-on-start -d dist src",
"prebuild": "rm -rf dist && npm run lint",
"build": "swc -d dist src",
"postbuild": "tsc -p . --emitDeclarationOnly",
"format": "prettier -w src test",
"typecheck": "tsc -p . --emitDeclarationOnly",
"lint": "eslint src test",
"test": "c8 -c test/config/c8-local.json tap --rcfile=test/config/tap.yml test/*.test.ts",
"test:ci": "c8 -c test/config/c8-ci.json tap --rcfile=test/config/tap.yml --no-color test/*.test.ts",
Expand All @@ -44,27 +43,27 @@
"postpublish": "git push origin && git push origin -f --tags"
},
"dependencies": {
"commander": "^9.4.0",
"commander": "^9.4.1",
"get-stream": "^6.0.1",
"pump": "^3.0.0",
"split2": "^4.1.0"
},
"devDependencies": {
"@cowtech/eslint-config": "^8.7.2",
"@cowtech/eslint-config": "^8.7.5",
"@swc/cli": "^0.1.57",
"@swc/core": "^1.2.245",
"@types/node": "^18.7.14",
"@swc/core": "^1.3.7",
"@types/node": "^18.8.4",
"@types/pump": "^1.1.1",
"@types/sinon": "^10.0.13",
"@types/split2": "^3.2.1",
"@types/tap": "^15.0.7",
"c8": "^7.12.0",
"chokidar": "^3.5.3",
"prettier": "^2.7.1",
"sinon": "^14.0.0",
"sinon": "^14.0.1",
"tap": "^16.3.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.2"
"typescript": "^4.8.4"
},
"engines": {
"node": ">=14.15.0"
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"jsx": "preserve",
"declaration": true,
"outDir": "dist",
"declarationDir": "types",
"allowJs": false,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
Expand Down

0 comments on commit 92c8740

Please sign in to comment.