mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-12-19 06:58:15 +08:00
relates to #586 and #720 Added npm scripts for doctest and style checking via standard. This allows us to call those directly via npm and not via npx. The CI job itself is now split into distinct steps (makes it more visible which step failed).
34 lines
756 B
JSON
34 lines
756 B
JSON
{
|
|
"name": "javascript",
|
|
"version": "1.0.0",
|
|
"description": "A repository for All algorithms implemented in Javascript (for educational purposes only)",
|
|
"main": "",
|
|
"scripts": {
|
|
"doctest": "doctest **/*.js",
|
|
"test": "jest --no-cache",
|
|
"style": "standard"
|
|
},
|
|
"author": "TheAlgorithms",
|
|
"license": "GPL-3.0",
|
|
"dependencies": {
|
|
"@babel/core": "^7.11.6",
|
|
"@babel/plugin-transform-runtime": "^7.11.5",
|
|
"@babel/preset-env": "^7.11.5",
|
|
"jsdom": "^16.3.0",
|
|
"node": "^14.13.1",
|
|
"node-fetch": "2.6.1",
|
|
"atob": "2.1.2"
|
|
},
|
|
"standard": {
|
|
"env": [
|
|
"jest"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"babel-jest": "^26.3.0",
|
|
"doctest": "^0.17.1",
|
|
"jest": "^26.4.2",
|
|
"standard": "^14.3.4"
|
|
}
|
|
}
|