Skip to content

Commit

Permalink
remove the spotify dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
bmesuere committed Jul 8, 2019
1 parent a5eb875 commit 9d7f843
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 4,501 deletions.
11 changes: 10 additions & 1 deletion jest.config.js
@@ -1 +1,10 @@
module.exports = require("@spotify/web-scripts/config/jest.config.js");
module.exports = {
preset: "ts-jest/presets/js-with-ts",
globals: {
"ts-jest": {
tsConfig: {
allowJs: true,
},
},
},
};
8 changes: 6 additions & 2 deletions package.json
Expand Up @@ -7,7 +7,7 @@
"start": "tsc && node dist/app.js",
"test-hash-performance": "tsc && time head -c 1000000 /dev/random | node dist/bin/hash.js > /dev/null",
"test-winnow-performance": "tsc && time head -c 1000000 /dev/random | node dist/bin/hash.js > /dev/null",
"test": "web-scripts test --coverage",
"test": "jest --coverage",
"build": "tsc",
"lint": "tslint 'src/**/*.ts'"
},
Expand All @@ -16,8 +16,12 @@
"license": "MIT",
"private": false,
"devDependencies": {
"@spotify/web-scripts": "^1.1.0",
"@types/jest": "^24.0.15",
"@types/node": "^12.0.10",
"jest": "^24.8.0",
"jest-junit": "^6.4.0",
"prettier": "^1.18.2",
"ts-jest": "^24.0.2",
"tslint": "^5.18.0",
"typescript": "^3.5.2"
},
Expand Down

0 comments on commit 9d7f843

Please sign in to comment.