Skip to content

Commit

Permalink
feat: migrated to cross platform scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
bennymeg committed Mar 18, 2021
1 parent c3d1d2a commit e97c490
Show file tree
Hide file tree
Showing 5 changed files with 260 additions and 57 deletions.
47 changes: 47 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Lint",
"detail": "Lint the project.",
"type": "shell",
"command": "npm run lint"
},
{
"label": "Test",
"detail": "Execute the projects test cases.",
"type": "shell",
"command": "npm run test",
"problemMatcher": [],
"group": {
"kind": "test",
"isDefault": true
}
},
{
"label": "Build",
"detail": "Builds the package.",
"type": "shell",
"command": "npm run build",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Deploy",
"detail": "Deploys the package to npm server.",
"type": "shell",
"command": "npm run publish"
},
{
"label": "Generate Docs",
"detail": "Generates and updates the documentation in this repository (you might need to update tree.json manually).",
"type": "shell",
"command": "npm run doc"
}
]
}
13 changes: 13 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
preset: 'ts-jest',
modulePathIgnorePatterns: [
"build",
],
testPathIgnorePatterns: [
"node_modules"
],
coverageReporters: [
"html"
],
coverageDirectory: "coverage",
};
Loading

0 comments on commit e97c490

Please sign in to comment.