Skip to content

Commit

Permalink
change ts config
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-iachini committed Mar 22, 2024
1 parent c3880c3 commit f2879fc
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
node_modules/
lib/
dist/
5 changes: 0 additions & 5 deletions jest.config.js

This file was deleted.

4 changes: 4 additions & 0 deletions jest.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"preset": "ts-jest",
"roots": ["test", "src"]
}
28 changes: 11 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
{
"name": "@luca-iachini/prettier-plugin-fluent",
"version": "1.0.4",
"version": "1.0.5",
"description": "Fluent Prettier Plugin",
"author": "Luca Iachini",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/luca-iachini/prettier-plugin-fluent.git"
},
"author": "Luca Iachini",
"homepage": "https://github.com/luca-iachini/prettier-plugin-fluent#readme",
"bugs": {
"url": "https://github.com/luca-iachini/prettier-plugin-fluent/issues"
},
"keywords": [
"prettier",
"plugin",
"fluent"
],
"description": "Fluent Prettier Plugin",
"type": "module",
"main": "./lib/index.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": "./lib/index.js",
"./parser": "./lib/parser.js"
".": "./dist/index.js"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
Expand Down Expand Up @@ -50,14 +53,5 @@
"peerDependencies": {
"prettier": "^3.1.1"
},
"types": "./lib/index.d.ts",
"bugs": {
"url": "https://github.com/luca-iachini/prettier-plugin-fluent/issues"
},
"homepage": "https://github.com/luca-iachini/prettier-plugin-fluent#readme",
"directories": {
"lib": "lib",
"test": "test"
},
"files": ["./lib"]
"files": ["./dist"]
}
20 changes: 6 additions & 14 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
{
"compilerOptions": {
"declaration": true,
"module": "esnext",
"moduleResolution": "bundler",
"lib": ["esnext", "dom"],
"target": "esnext",
"outDir": "./lib",
"removeComments": true,
"inlineSourceMap": true,
"inlineSources": true,
"preserveConstEnums": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"target": "es5",
"baseUrl": "./",
"strict": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true
"outDir": "./dist",
"esModuleInterop": true,
"moduleResolution": "node",
"declaration": true
},
"include": ["src/**/*", "test/**/*"],
"exclude": ["node_modules", "**/*.test.ts"]
Expand Down

0 comments on commit f2879fc

Please sign in to comment.