mirror of
https://github.com/silverstripe/silverstripe-tagfield
synced 2024-10-22 11:05:32 +02:00
a1c57f664d
This also fixes an issue where tags would be created and tags could not have the same name as the ID of an existing tag And the react-select module is updated to the (current) latest 1.x version And the tests are now working again after updating jest
85 lines
2.3 KiB
JSON
85 lines
2.3 KiB
JSON
{
|
|
"name": "silverstripe-tagfield",
|
|
"version": "2.2.0",
|
|
"description": "Tag field for SilverStripe",
|
|
"main": "./client/src/boot/index.js",
|
|
"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": ">=6.x"
|
|
},
|
|
"scripts": {
|
|
"build": "yarn && yarn lint && yarn test && NODE_ENV=production webpack -p --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"
|
|
},
|
|
"jest": {
|
|
"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"
|
|
}
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"env",
|
|
"react"
|
|
],
|
|
"plugins": [
|
|
"transform-object-rest-spread"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@silverstripe/eslint-config": "^0.0.5",
|
|
"@silverstripe/webpack-config": "^0.10.0",
|
|
"@storybook/react": "^3.2.19",
|
|
"babel-jest": "^23.6.0",
|
|
"copy-webpack-plugin": "^4.2.0",
|
|
"enzyme": "^3.3.0",
|
|
"enzyme-adapter-react-15.4": "^1.0.5",
|
|
"html-loader": "^0.5.1",
|
|
"jest-cli": "^23.6.0",
|
|
"react-addons-test-utils": "15.3.1",
|
|
"webpack": "^2"
|
|
},
|
|
"dependencies": {
|
|
"babel-polyfill": "6.7.4",
|
|
"classnames": "^2.2.5",
|
|
"debounce-promise": "^3.1.0",
|
|
"isomorphic-fetch": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz",
|
|
"jquery": "^3.1.1",
|
|
"prop-types": "^15.7.2",
|
|
"react": "15.3.1",
|
|
"react-dom": "15.3.1",
|
|
"react-select": "^1.2.1",
|
|
"url": "^0.11.0"
|
|
}
|
|
}
|