Jest is a JavaScript Testing Framework, usefull to test React components and to do unit testing.
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"name": "app-desk",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "prettier --check . && yarn stylelint && next build",
|
|
"build-theme": "cunningham -g css,ts -o src/cunningham --utility-classes",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"prettier": "prettier --write .",
|
|
"stylelint": "stylelint \"**/*.css\"",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch"
|
|
},
|
|
"dependencies": {
|
|
"@openfun/cunningham-react": "2.4.0",
|
|
"next": "14.0.4",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "6.2.0",
|
|
"@testing-library/react": "14.1.2",
|
|
"@types/jest": "29.5.11",
|
|
"@types/node": "20.10.8",
|
|
"@types/react": "18.2.47",
|
|
"@types/react-dom": "18.2.18",
|
|
"@typescript-eslint/eslint-plugin": "6.18.1",
|
|
"eslint": "8.0.1",
|
|
"eslint-config-next": "14.0.4",
|
|
"eslint-config-prettier": "9.1.0",
|
|
"eslint-plugin-jest": "27.6.2",
|
|
"eslint-plugin-prettier": "5.1.2",
|
|
"eslint-plugin-testing-library": "6.2.0",
|
|
"jest": "29.7.0",
|
|
"jest-environment-jsdom": "29.7.0",
|
|
"prettier": "3.1.1",
|
|
"stylelint": "16.1.0",
|
|
"stylelint-config-standard": "36.0.0",
|
|
"stylelint-prettier": "5.0.0",
|
|
"typescript": "5.3.3"
|
|
}
|
|
}
|