mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
Revert type:module on main package json
This commit is contained in:
+11
-10
@@ -1,12 +1,13 @@
|
||||
{
|
||||
"ignorePatterns": ["eslint.config.mjs",
|
||||
"**/build/**",
|
||||
"**/dist/**",
|
||||
"**/node_modules/**",
|
||||
"**/instrumented/**",
|
||||
"**/coverage/**",
|
||||
"nyc-config.cjs",
|
||||
".lintstagedrc.js",
|
||||
"cypress.config.js"
|
||||
]
|
||||
"ignorePatterns": [
|
||||
"eslint.config.mjs",
|
||||
"**/build/**",
|
||||
"**/dist/**",
|
||||
"**/node_modules/**",
|
||||
"**/instrumented/**",
|
||||
"**/coverage/**",
|
||||
"nyc-config.cjs",
|
||||
".lintstagedrc.mjs",
|
||||
"cypress.config.js"
|
||||
]
|
||||
}
|
||||
|
||||
+4
-8
@@ -1,12 +1,8 @@
|
||||
/* eslint-disable import-x/no-extraneous-dependencies */
|
||||
/* eslint-disable import-x/no-default-export */
|
||||
const { defineConfig } = require('cypress')
|
||||
|
||||
import { defineConfig } from 'cypress'
|
||||
|
||||
import coverage from '@cypress/code-coverage/task'
|
||||
import plugin from './cypress/plugins/index.js'
|
||||
|
||||
export default defineConfig({
|
||||
module.exports = defineConfig({
|
||||
experimentalStudio: process.env.NODE_ENV === 'development',
|
||||
projectId: 'c3jsph',
|
||||
defaultCommandTimeout: 30000,
|
||||
@@ -18,8 +14,8 @@ export default defineConfig({
|
||||
// We've imported your old cypress plugins here.
|
||||
// You may want to clean this up later by importing these.
|
||||
setupNodeEvents(on, config) {
|
||||
coverage(on, config)
|
||||
plugin(on, config)
|
||||
require('@cypress/code-coverage/task')(on, config)
|
||||
require('./cypress/plugins/index.js')(on, config)
|
||||
return config
|
||||
},
|
||||
baseUrl: 'http://localhost:3000',
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ export default tseslint.config(
|
||||
'**/instrumented/**',
|
||||
'**/coverage/**',
|
||||
'nyc-config.cjs',
|
||||
'.lintstagedrc.js',
|
||||
'.lintstagedrc.mjs',
|
||||
'cypress.config.js',
|
||||
]
|
||||
},
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"name": "oodikone",
|
||||
"type": "module",
|
||||
"description": "An application for analyzing university data.",
|
||||
"scripts": {
|
||||
"cypress": "cypress",
|
||||
|
||||
Reference in New Issue
Block a user