silverstripe-tagfield/package.json
2018-07-17 16:50:49 +12:00

81 lines
2.2 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 && 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.4",
"@silverstripe/webpack-config": "^0.8.0",
"babel-jest": "^20.0.3",
"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": "^19.0.2",
"webpack": "^2"
},
"dependencies": {
"babel-polyfill": "6.7.4",
"classnames": "^2.2.5",
"isomorphic-fetch": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz",
"jquery": "^3.1.1",
"react": "15.3.1",
"react-dom": "15.3.1",
"react-select": "^1.0.0-rc.5",
"url": "^0.11.0"
}
}