silverstripe-tagfield/package.json

78 lines
2.1 KiB
JSON
Raw Normal View History

{
"name": "silverstripe-tagfield",
"description": "Tag field for SilverStripe",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "git+https://github.com/silverstripe/silverstripe-tagfield.git"
},
"homepage": "https://github.com/silverstripe/silverstripe-tagfield",
"bugs": {
"url": "https://github.com/silverstripe/silverstripe-tagfield/issues"
},
"author": "SilverStripe Ltd.",
"engines": {
"node": "^18.x"
},
"scripts": {
"build": "yarn && yarn lint && yarn test && 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",
"css": "WEBPACK_CHILD=css npm run build",
"test": "jest",
"coverage": "jest --coverage",
"lock": "npm-shrinkwrap --dev",
"lint": "eslint client/src && sass-lint client/src",
"lint-js": "eslint client/src",
"lint-js-fix": "eslint client/src --fix",
"lint-sass": "sass-lint client/src"
},
"dependencies": {
"classnames": "^2.3.2",
"debounce-promise": "^3.1.2",
"isomorphic-fetch": "^3.0.0",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
2023-05-31 00:47:42 +02:00
"react-select": "^5.7.3",
"url": "^0.11.0"
},
"devDependencies": {
2023-04-03 04:38:53 +02:00
"@silverstripe/eslint-config": "^1.0.0",
"@silverstripe/webpack-config": "^2.0.0",
2023-05-01 02:53:44 +02:00
"@testing-library/react": "^14.0.0",
"babel-jest": "^29.2.2",
"copy-webpack-plugin": "^11.0.0",
"html-loader": "^4.2.0",
"jest-cli": "^29.2.2",
"jest-environment-jsdom": "^29.3.1",
"webpack": "^5.74.0",
"webpack-cli": "^5.0.0"
},
"resolutions": {
"colors": "1.4.0"
},
"browserslist": [
"defaults"
],
"jest": {
"testEnvironment": "jsdom",
"roots": [
"client/src"
],
"modulePaths": [
"client/src",
"../admin/client/src",
"../admin/node_modules",
"vendor/silverstripe/admin/client/src",
"vendor/silverstripe/admin/node_modules"
],
"testMatch": [
"**/tests/**/*-test.js?(x)"
],
"transform": {
".*": "babel-jest"
}
}
}