silverstripe-frameworktest/package.json

62 lines
1.9 KiB
JSON

{
"name": "silverstripe-asset-admin",
"version": "0.0.0",
"description": "Asset management for the SilverStripe CMS",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "git+https://github.com/open-sausages/silverstripe-asset-admin.git"
},
"homepage": "https://github.com/open-sausages/silverstripe-asset-admin",
"bugs": {
"url": "https://github.com/open-sausages/silverstripe-asset-admin/issues"
},
"author": "SilverStripe Ltd",
"engines": {
"node": "18.x"
},
"scripts": {
"build": "yarn && yarn lint && rm -rf client/dist/* && NODE_ENV=production webpack --mode production --bail --progress",
"dev": "NODE_ENV=development webpack --progress",
"watch": "NODE_ENV=development webpack --watch --progress",
"lock": "npm-shrinkwrap --dev",
"test": "NODE_PATH=\"./client/src\" jest",
"coverage": "NODE_PATH=\"./client/src\" jest --coverage",
"lint": "eslint client/src && sass-lint -v client/src"
},
"jest": {
"scriptPreprocessor": "<rootDir>/node_modules/babel-jest",
"testDirectoryName": "tests",
"unmockedModulePathPatterns": [
"<rootDir>/node_modules/react"
],
"mocksPattern": "mocks",
"testPathDirs": [
"client/src"
],
"bail": true,
"testRunner": "<rootDir>/node_modules/jest-cli/src/testRunners/jasmine/jasmine2.js"
},
"dependencies": {
"core-js": "^3.26.1",
"react": "^18.2.0",
"react-addons-css-transition-group": "^15.6.2",
"react-dom": "^18.2.0",
"react-redux": "^8.0.5",
"react-router": "^6.4.5",
"react-router-redux": "^4.0.8",
"redux": "^4.2.0",
"redux-thunk": "^2.4.2",
"tether": "^2.0.0",
"url": "^0.11.0"
},
"devDependencies": {
"@silverstripe/eslint-config": "^1.1.0",
"@silverstripe/webpack-config": "^2.0.0",
"babel-jest": "^20.0.3",
"jest-cli": "^19.0.2",
"webpack": "^5.76.0",
"webpack-cli": "^5.0.0"
}
}