mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 15:07:13 +01:00
enable jest
This commit is contained in:
6
babel.config.js
Normal file
6
babel.config.js
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
module.exports = {
|
||||||
|
presets: [
|
||||||
|
['@babel/preset-env', {targets: {node: 'current'}}],
|
||||||
|
'@babel/preset-typescript',
|
||||||
|
],
|
||||||
|
};
|
||||||
17
package-lock.json
generated
17
package-lock.json
generated
@@ -1439,12 +1439,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/preset-typescript": {
|
"@babel/preset-typescript": {
|
||||||
"version": "7.10.4",
|
"version": "7.12.1",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.10.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.12.1.tgz",
|
||||||
"integrity": "sha512-SdYnvGPv+bLlwkF2VkJnaX/ni1sMNetcGI1+nThF1gyv6Ph8Qucc4ZZAjM5yZcE/AKRXIOTZz7eSRDWOEjPyRQ==",
|
"integrity": "sha512-hNK/DhmoJPsksdHuI/RVrcEws7GN5eamhi28JkO52MqIxU8Z0QpmiSOQxZHWOHV7I3P4UjHV97ay4TcamMA6Kw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/helper-plugin-utils": "^7.10.4",
|
"@babel/helper-plugin-utils": "^7.10.4",
|
||||||
"@babel/plugin-transform-typescript": "^7.10.4"
|
"@babel/plugin-transform-typescript": "^7.12.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/runtime": {
|
"@babel/runtime": {
|
||||||
@@ -8946,6 +8946,15 @@
|
|||||||
"source-map": "^0.5.0"
|
"source-map": "^0.5.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@babel/preset-typescript": {
|
||||||
|
"version": "7.10.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.10.4.tgz",
|
||||||
|
"integrity": "sha512-SdYnvGPv+bLlwkF2VkJnaX/ni1sMNetcGI1+nThF1gyv6Ph8Qucc4ZZAjM5yZcE/AKRXIOTZz7eSRDWOEjPyRQ==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/helper-plugin-utils": "^7.10.4",
|
||||||
|
"@babel/plugin-transform-typescript": "^7.10.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
"@babel/types": {
|
"@babel/types": {
|
||||||
"version": "7.11.5",
|
"version": "7.11.5",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.5.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.5.tgz",
|
||||||
|
|||||||
@@ -7,9 +7,10 @@
|
|||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"test:watch": "jest --watch",
|
"test:watch": "jest --watch",
|
||||||
"test:ci": "jest"
|
"test": "jest"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@babel/preset-typescript": "^7.12.1",
|
||||||
"date-fns": "^2.16.1",
|
"date-fns": "^2.16.1",
|
||||||
"ics": "^2.26.1",
|
"ics": "^2.26.1",
|
||||||
"mongoose": "^5.10.13",
|
"mongoose": "^5.10.13",
|
||||||
|
|||||||
Reference in New Issue
Block a user