datocms-plugin-better-links
Version:
A plugin that allows you see multiple fields when selecting a Links field type.
111 lines (110 loc) • 3.12 kB
JSON
{
"name": "datocms-plugin-better-links",
"version": "0.0.7",
"scripts": {
"serve": "cross-env NODE_ENV=development vue-cli-service serve --out-dir",
"build": "cross-env NODE_ENV=production vue-cli-service build --modern",
"lint": "run-p lint:js lint:css",
"lint:css": "stylelint '**/*.{vue,scss,css}'",
"lint:js": "vue-cli-service lint --no-fix",
"test:unit": "cross-env NODE_ENV=test vue-cli-service test:unit --no-cache --watchAll"
},
"homepage": "https://github.com/cj/datocms-plugin-better-links",
"description": "A plugin that allows you see multiple fields when selecting a Links field type.",
"keywords": [
"datocms",
"datocms-plugin",
"field-editor",
"link-field",
"links-field"
],
"datoCmsPlugin": {
"title": "Better Links",
"coverImage": "docs/cover.png",
"entryPoint": "dist/index.html",
"fieldTypes": [
"link",
"links"
],
"pluginType": "field_editor",
"parameters": {
"global": [
{
"id": "developmentMode",
"label": "Development mode?",
"type": "boolean",
"hint": "Enable development logs on the console"
},
{
"id": "apiToken",
"label": "API token",
"type": "string",
"hint": "Please provide a READ-ONLY API token, so that we can get the Links field values."
}
],
"instance": [
{
"id": "fields",
"label": "Fields to show",
"hint": "i.e. first_name,last_name",
"type": "string",
"required": true
}
]
}
},
"dependencies": {
"datocms-plugins-sdk": "0.0.7",
"graphql-request": "^1.8.2",
"lodash-es": "^4.17.11",
"vue": "^2.5.17",
"vue-virtual-scroller": "^1.0.0-beta.2"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.0.5",
"@vue/cli-plugin-eslint": "^3.0.5",
"@vue/cli-plugin-unit-jest": "^3.0.5",
"@vue/cli-service": "^3.0.5",
"@vue/eslint-config-airbnb": "^3.0.5",
"@vue/test-utils": "^1.0.0-beta.20",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"babel-plugin-transform-imports": "^1.5.1",
"compression-webpack-plugin": "^2.0.0",
"critical": "^1.3.4",
"cross-env": "^5.2.0",
"eslint-plugin-vue": "^5.0.0-beta.3",
"glob": "^7.1.3",
"lint-staged": "^8.0.2",
"node-sass": "^4.9.0",
"postcss-flexbugs-fixes": "^4.1.0",
"postcss-preset-env": "^6.2.0",
"prerender-spa-plugin": "^3.4.0",
"purgecss-webpack-plugin": "^1.3.1",
"sass-loader": "^7.0.1",
"stylelint": "^9.6.0",
"stylelint-config-recommended": "^2.1.0",
"stylelint-webpack-plugin": "^0.10.5",
"tailwindcss": "^0.6.6",
"vue-cli-plugin-optimize": "0.0.3",
"vue-template-compiler": "^2.5.17"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.js": [
"npm run lint:js",
"git add"
],
"*.scss": [
"npm run lint:css",
"git add"
],
"*.vue": [
"npm run lint:js",
"npm run lint:css",
"git add"
]
}
}