2018-07-11 07:47:38 +02:00
|
|
|
{
|
|
|
|
"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": {
|
2023-02-01 22:13:18 +01:00
|
|
|
"node": "^18.x"
|
2018-07-11 07:47:38 +02:00
|
|
|
},
|
|
|
|
"scripts": {
|
2023-02-01 22:13:18 +01:00
|
|
|
"build": "yarn && yarn lint && yarn test && rm -rf client/dist/* && NODE_ENV=production webpack --mode production --bail --progress",
|
2018-07-11 07:47:38 +02:00
|
|
|
"dev": "NODE_ENV=development webpack --progress",
|
|
|
|
"watch": "NODE_ENV=development webpack --watch --progress",
|
|
|
|
"css": "WEBPACK_CHILD=css npm run build",
|
2018-07-17 06:19:44 +02:00
|
|
|
"test": "jest",
|
|
|
|
"coverage": "jest --coverage",
|
2018-07-11 07:47:38 +02:00
|
|
|
"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"
|
|
|
|
},
|
2023-02-01 22:13:18 +01:00
|
|
|
"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",
|
2023-02-01 22:13:18 +01:00
|
|
|
"url": "^0.11.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-07-12 01:05:12 +02:00
|
|
|
"@silverstripe/eslint-config": "^1.1.0",
|
2023-04-03 04:38:53 +02:00
|
|
|
"@silverstripe/webpack-config": "^2.0.0",
|
2023-05-01 02:53:44 +02:00
|
|
|
"@testing-library/react": "^14.0.0",
|
2023-02-01 22:13:18 +01:00
|
|
|
"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"
|
|
|
|
],
|
2018-07-17 06:19:44 +02:00
|
|
|
"jest": {
|
2023-02-01 22:13:18 +01:00
|
|
|
"testEnvironment": "jsdom",
|
2018-07-17 06:19:44 +02:00
|
|
|
"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"
|
|
|
|
}
|
2018-07-11 07:47:38 +02:00
|
|
|
}
|
|
|
|
}
|