mirror of
https://github.com/valitydev/partial-fetcher.git
synced 2024-11-06 00:55:17 +00:00
Linter added. Tests enabled. Dist clean up.
This commit is contained in:
parent
6f47ee7d80
commit
62567209be
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@
|
||||
/dist
|
||||
/tmp
|
||||
/out-tsc
|
||||
**/*.tgz
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
|
7
jasmine.json
Normal file
7
jasmine.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"spec_dir": "src",
|
||||
"spec_files": ["**/*[sS]pec.ts"],
|
||||
"helpers": ["helpers/**/*.ts"],
|
||||
"stopSpecOnExpectationFailure": false,
|
||||
"random": true
|
||||
}
|
901
package-lock.json
generated
901
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
11
package.json
11
package.json
@ -8,7 +8,7 @@
|
||||
"dist/**/*"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"test": "ts-node node_modules/jasmine/bin/jasmine --reporter=jasmine-console-reporter --config=jasmine.json",
|
||||
"build": "tsc",
|
||||
"clean": "rimraf dist",
|
||||
"prettier": "prettier \"**/*.{html,js,ts,css,scss,md,json,prettierrc,svg}\"",
|
||||
@ -26,8 +26,17 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jasmine": "^3.5.0",
|
||||
"jasmine": "^3.5.0",
|
||||
"jasmine-console-reporter": "^3.1.0",
|
||||
"karma-chrome-launcher": "^3.1.0",
|
||||
"karma-coverage-istanbul-reporter": "^2.1.1",
|
||||
"karma-jasmine": "^2.0.1",
|
||||
"karma-jasmine-html-reporter": "^1.4.2",
|
||||
"path": "^0.12.7",
|
||||
"prettier": "^1.19.1",
|
||||
"rimraf": "^3.0.0",
|
||||
"ts-node": "^8.5.3",
|
||||
"tslint": "^5.20.1",
|
||||
"typescript": "^3.7.2",
|
||||
"typescript-tslint-plugin": "^0.5.5"
|
||||
},
|
||||
|
@ -28,5 +28,5 @@
|
||||
]
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["node_modules"]
|
||||
"exclude": ["node_modules", "src/**/*.spec.*"]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user