mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-14 04:03:51 +00:00
Merge pull request #1824 from freqtrade/test/moduletype
Add type:module to package.json
This commit is contained in:
commit
4d1dcd9f35
|
@ -5,9 +5,6 @@ export default defineConfig({
|
||||||
e2e: {
|
e2e: {
|
||||||
// We've imported your old cypress plugins here.
|
// We've imported your old cypress plugins here.
|
||||||
// You may want to clean this up later by importing these.
|
// You may want to clean this up later by importing these.
|
||||||
setupNodeEvents(on, config) {
|
|
||||||
return require('./cypress/plugins/index.js')(on, config);
|
|
||||||
},
|
|
||||||
specPattern: 'cypress/e2e/**/*.cy.ts',
|
specPattern: 'cypress/e2e/**/*.cy.ts',
|
||||||
baseUrl: 'http://localhost:3000',
|
baseUrl: 'http://localhost:3000',
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
const path = require('path');
|
|
||||||
const { startDevServer } = require('@cypress/vite-dev-server');
|
|
||||||
|
|
||||||
module.exports = (on, config) => {
|
|
||||||
on('dev-server:start', (options) => {
|
|
||||||
return startDevServer({
|
|
||||||
options,
|
|
||||||
viteConfig: {
|
|
||||||
configFile: path.resolve(__dirname, '..', '..', 'vite.config.js'),
|
|
||||||
},
|
|
||||||
});
|
|
||||||
});
|
|
||||||
};
|
|
|
@ -2,6 +2,7 @@
|
||||||
"name": "frequi",
|
"name": "frequi",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user