Skip to content

Commit

Permalink
Merge pull request #6 from webKrafters/ts-version-mismtach
Browse files Browse the repository at this point in the history
remove npx typescript to use project's version
  • Loading branch information
webKrafter authored Feb 1, 2024
2 parents 1bf7e6d + 2fc3338 commit 3f62360
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@
],
"homepage": "https://github.com/webKrafters/get-property#readme",
"jest": {
"collectCoverageFrom": [ "src/**/*.js" ],
"testPathIgnorePatterns": [ "dist" ],
"collectCoverageFrom": [
"src/**/*.js"
],
"testPathIgnorePatterns": [
"dist"
],
"transform": {
"\\.[jt]sx?$": "babel-jest"
}
Expand All @@ -57,11 +61,11 @@
"url": "git+https://github.com/webKrafters/get-property.git"
},
"scripts": {
"build": "eslint --fix && rm -rf dist && babel src -d dist --ignore '**/*.test.js' && npx -p typescript tsc",
"build": "eslint --fix && rm -rf dist && babel src -d dist --ignore '**/*.test.js' && tsc",
"test": "eslint --fix && jest --coverage",
"test:core": "jest",
"test:watch": "eslint --fix && jest --watchAll"
},
"types": "dist/index.d.ts",
"version": "1.1.1"
"version": "1.1.2"
}

0 comments on commit 3f62360

Please sign in to comment.