chore: add prettier-package-json everywhere and format on lint-staged

This commit is contained in:
Joren Broekema 2020-06-18 11:37:14 +02:00 committed by Thomas Allmer
parent 5b8a9915a3
commit bd723947ae
37 changed files with 1815 additions and 937 deletions

13
.lintstagedrc.js Normal file
View file

@ -0,0 +1,13 @@
/* eslint-disable import/no-extraneous-dependencies */
module.exports = {
'*': ['eclint fix', 'git add'],
'*.js': ['eslint --fix', 'prettier --write', 'git add'],
'*.md': ['prettier --write', 'markdownlint', 'git add'],
'*package.json': absolutePaths => {
const sortPackages = [];
absolutePaths.forEach(p => {
sortPackages.push(`node ./scripts/sort-package-json.js ${p}`);
});
return [...sortPackages, `node ./scripts/lint-versions.js`];
},
};

View file

@ -1,15 +1,39 @@
{ {
"name": "@lion/root",
"private": true, "private": true,
"name": "@lion/root",
"license": "MIT", "license": "MIT",
"workspaces": [ "workspaces": [
"packages/*" "packages/*"
], ],
"scripts": {
"bundlesize": "rollup -c bundlesize/rollup.config.js && bundlesize",
"dev-server": "es-dev-server",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "eslint --ext .js,.html . --fix",
"format:prettier": "prettier \"**/*.{js,md}\" --write",
"lint": "run-p lint:*",
"lint:eclint": "git ls-files | xargs eclint check",
"lint:eslint": "eslint --ext .js,.html .",
"lint:markdownlint": "git ls-files '*.md' | xargs markdownlint --ignore '**/CHANGELOG.md'",
"lint:prettier": "prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)",
"lint:versions": "node ./scripts/lint-versions.js",
"start": "npm run storybook",
"storybook": "start-storybook -p 9001",
"storybook:build": "build-storybook",
"storybook:build:start": "es-dev-server --root-dir storybook-static --open",
"test": "run-p test:browser test:node",
"test:browser": "karma start --coverage",
"test:browser:watch": "karma start --auto-watch=true --single-run=false",
"test:bs": "karma start karma.bs.config.js --coverage",
"test:node": "lerna run test:node",
"test:prune-snapshots": "karma start --prune-snapshots",
"test:update-snapshots": "karma start --update-snapshots"
},
"devDependencies": { "devDependencies": {
"@open-wc/building-rollup": "^1.2.1",
"@commitlint/cli": "^7.0.0", "@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.0", "@commitlint/config-conventional": "^7.0.0",
"@mdjs/core": "^0.3.1", "@mdjs/core": "^0.3.1",
"@open-wc/building-rollup": "^1.2.1",
"@open-wc/demoing-storybook": "^2.0.2", "@open-wc/demoing-storybook": "^2.0.2",
"@open-wc/eslint-config": "^1.0.0", "@open-wc/eslint-config": "^1.0.0",
"@open-wc/testing": "^2.5.0", "@open-wc/testing": "^2.5.0",
@ -28,60 +52,18 @@
"eslint-config-prettier": "^6.11.0", "eslint-config-prettier": "^6.11.0",
"husky": "^1.0.0", "husky": "^1.0.0",
"lerna": "3.4.3", "lerna": "3.4.3",
"lint-staged": "^8.0.0", "lint-staged": "^10.0.0",
"markdownlint-cli": "^0.17.0", "markdownlint-cli": "^0.17.0",
"mocha": "^7.1.1", "mocha": "^7.1.1",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"prettier": "^2.0.5", "prettier": "^2.0.5",
"prettier-package-json": "^2.1.3",
"rimraf": "^2.6.3", "rimraf": "^2.6.3",
"rollup": "^2.0.0", "rollup": "^2.0.0",
"sinon": "^7.2.2", "sinon": "^7.2.2",
"webpack-merge": "^4.1.5", "webpack-merge": "^4.1.5",
"whatwg-fetch": "^3.0.0" "whatwg-fetch": "^3.0.0"
}, },
"scripts": {
"dev-server": "es-dev-server",
"start": "npm run storybook",
"storybook": "start-storybook -p 9001",
"storybook:build": "build-storybook",
"storybook:build:start": "es-dev-server --root-dir storybook-static --open",
"test": "run-p test:browser test:node",
"test:browser": "karma start --coverage",
"test:node": "lerna run test:node",
"test:browser:watch": "karma start --auto-watch=true --single-run=false",
"test:update-snapshots": "karma start --update-snapshots",
"test:prune-snapshots": "karma start --prune-snapshots",
"test:bs": "karma start karma.bs.config.js --coverage",
"lint": "run-p lint:*",
"lint:eclint": "git ls-files | xargs eclint check",
"lint:eslint": "eslint --ext .js,.html .",
"lint:prettier": "prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)",
"lint:markdownlint": "git ls-files '*.md' | xargs markdownlint --ignore '**/CHANGELOG.md'",
"lint:versions": "node ./scripts/lint-versions.js",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "eslint --ext .js,.html . --fix",
"format:prettier": "prettier \"**/*.{js,md}\" --write",
"bundlesize": "rollup -c bundlesize/rollup.config.js && bundlesize"
},
"lint-staged": {
"*": [
"eclint fix",
"git add"
],
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.md": [
"prettier --write",
"markdownlint",
"git add"
],
"*package.json": [
"node ./scripts/lint-versions.js"
]
},
"bundlesize": [ "bundlesize": [
{ {
"path": "./bundlesize/dist/core/*.js", "path": "./bundlesize/dist/core/*.js",

View file

@ -2,41 +2,41 @@
"name": "@lion/ajax", "name": "@lion/ajax",
"version": "0.4.2", "version": "0.4.2",
"description": "Thin wrapper around axios to allow for custom interceptors", "description": "Thin wrapper around axios to allow for custom interceptors",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/ajax" "directory": "packages/ajax"
}, },
"scripts": {
"start": "cd ../../ && yarn dev-server --open packages/ajax/README.md",
"prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/ajax/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/ajax/test/**/*.test.js\""
},
"keywords": [
"lion",
"web-components",
"ajax"
],
"main": "index.js", "main": "index.js",
"module": "index.js", "module": "index.js",
"files": [ "files": [
"*.js",
"docs", "docs",
"src", "src",
"test", "test",
"translations", "translations"
"*.js"
], ],
"scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js",
"start": "cd ../../ && yarn dev-server --open packages/ajax/README.md",
"test": "cd ../../ && yarn test:browser --grep \"packages/ajax/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/ajax/test/**/*.test.js\""
},
"sideEffects": false, "sideEffects": false,
"dependencies": { "dependencies": {
"@bundled-es-modules/axios": "0.18.1", "@bundled-es-modules/axios": "0.18.1",
"@lion/core": "0.7.1", "@lion/core": "0.7.1",
"singleton-manager": "1.0.0" "singleton-manager": "1.0.0"
},
"keywords": [
"ajax",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,17 +2,20 @@
"name": "babel-plugin-extend-docs", "name": "babel-plugin-extend-docs",
"version": "0.2.1", "version": "0.2.1",
"description": "Babel plugin which rewrites imports and templates according to a configuration", "description": "Babel plugin which rewrites imports and templates according to a configuration",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/babel-plugin-extend-docs" "directory": "packages/babel-plugin-extend-docs"
}, },
"main": "index.js",
"files": [
"*.js",
"src",
"test-node"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"start": "es-dev-server -c demo/server.config.js --root-dir ../../", "start": "es-dev-server -c demo/server.config.js --root-dir ../../",
@ -21,17 +24,18 @@
"test:node": "mocha test-node", "test:node": "mocha test-node",
"test:watch": "mocha test-node --watch" "test:watch": "mocha test-node --watch"
}, },
"devDependencies": {
"@babel/core": "^7.10.1",
"mermaid": "^8.2.6",
"mock-fs": "^4.10.1",
"nyc": "^15.0.0",
"ssl-root-cas": "^1.3.1"
},
"keywords": [ "keywords": [
"babel", "babel",
"extend" "extend"
], ],
"main": "index.js", "publishConfig": {
"files": [ "access": "public"
"src",
"test-node",
"*.js"
],
"devDependencies": {
"@babel/core": "^7.10.1"
} }
} }

View file

@ -2,37 +2,29 @@
"name": "@lion/button", "name": "@lion/button",
"version": "0.7.4", "version": "0.7.4",
"description": "A button that is easily styleable and accessible in all contexts", "description": "A button that is easily styleable and accessible in all contexts",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/button" "directory": "packages/button"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"start": "cd ../../ && yarn dev-server --open packages/button/README.md", "start": "cd ../../ && yarn dev-server --open packages/button/README.md",
"test": "cd ../../ && yarn test:browser --grep \"packages/button/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/button/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/button/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/button/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"button"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-button.js" "lion-button.js"
], ],
@ -41,5 +33,13 @@
}, },
"devDependencies": { "devDependencies": {
"@polymer/iron-test-helpers": "^3.0.1" "@polymer/iron-test-helpers": "^3.0.1"
},
"keywords": [
"button",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,43 +2,43 @@
"name": "@lion/calendar", "name": "@lion/calendar",
"version": "0.9.3", "version": "0.9.3",
"description": "Standalone calendar", "description": "Standalone calendar",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/calendar" "directory": "packages/calendar"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"test-helpers",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"start": "cd ../../ && yarn dev-server --open packages/calendar/README.md", "start": "cd ../../ && yarn dev-server --open packages/calendar/README.md",
"test": "cd ../../ && yarn test:browser --grep \"packages/calendar/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/calendar/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/calendar/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/calendar/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"calendar"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"test-helpers",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-calendar.js" "lion-calendar.js"
], ],
"dependencies": { "dependencies": {
"@lion/core": "0.7.1", "@lion/core": "0.7.1",
"@lion/localize": "0.12.0" "@lion/localize": "0.12.0"
},
"keywords": [
"calendar",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,37 +2,29 @@
"name": "@lion/checkbox-group", "name": "@lion/checkbox-group",
"version": "0.10.5", "version": "0.10.5",
"description": "A container for multiple checkboxes", "description": "A container for multiple checkboxes",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/checkbox-group" "directory": "packages/checkbox-group"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"start": "cd ../../ && yarn dev-server --open packages/checkbox-group/README.md", "start": "cd ../../ && yarn dev-server --open packages/checkbox-group/README.md",
"test": "cd ../../ && yarn test:browser --grep \"packages/checkbox-group/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/checkbox-group/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/checkbox-group/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/checkbox-group/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"checkbox-group"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-checkbox.js", "lion-checkbox.js",
"lion-checkbox-group.js" "lion-checkbox-group.js"
@ -42,5 +34,13 @@
"@lion/fieldset": "0.13.5", "@lion/fieldset": "0.13.5",
"@lion/form-core": "0.1.5", "@lion/form-core": "0.1.5",
"@lion/input": "0.7.5" "@lion/input": "0.7.5"
},
"keywords": [
"checkbox-group",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,40 +2,40 @@
"name": "@lion/core", "name": "@lion/core",
"version": "0.7.1", "version": "0.7.1",
"description": "Core functionality that is shared across all Lion Web Components", "description": "Core functionality that is shared across all Lion Web Components",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/core" "directory": "packages/core"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test-helpers",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/core/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/core/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/core/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/core/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test-helpers",
"translations",
"*.js"
],
"sideEffects": false, "sideEffects": false,
"dependencies": { "dependencies": {
"@open-wc/dedupe-mixin": "^1.2.1", "@open-wc/dedupe-mixin": "^1.2.1",
"@open-wc/scoped-elements": "^1.0.3", "@open-wc/scoped-elements": "^1.0.3",
"lit-element": "^2.2.1", "lit-element": "^2.2.1",
"lit-html": "^1.0.0" "lit-html": "^1.0.0"
},
"keywords": [
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,36 +2,28 @@
"name": "@lion/dialog", "name": "@lion/dialog",
"version": "0.7.3", "version": "0.7.3",
"description": "Show relative overlay content on click, as a webcomponent", "description": "Show relative overlay content on click, as a webcomponent",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/dialog" "directory": "packages/dialog"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"start": "cd ../../ && yarn dev-server --open packages/dialog/README.md", "start": "cd ../../ && yarn dev-server --open packages/dialog/README.md",
"test": "cd ../../ && yarn test:browser --grep \"packages/dialog/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/dialog/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/dialog/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/dialog/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"dialog"
],
"main": "index.js",
"module": "index.js",
"files": [
"src",
"docs",
"test",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-dialog.js", "lion-dialog.js",
"./docs/styled-dialog-content.js" "./docs/styled-dialog-content.js"
@ -39,5 +31,13 @@
"dependencies": { "dependencies": {
"@lion/core": "0.7.1", "@lion/core": "0.7.1",
"@lion/overlays": "0.16.3" "@lion/overlays": "0.16.3"
},
"keywords": [
"dialog",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,36 +2,28 @@
"name": "@lion/fieldset", "name": "@lion/fieldset",
"version": "0.13.5", "version": "0.13.5",
"description": "Allows to groups multiple input fields or other fieldsets together", "description": "Allows to groups multiple input fields or other fieldsets together",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/fieldset" "directory": "packages/fieldset"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/fieldset/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/fieldset/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/fieldset/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/fieldset/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"fieldset"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-fieldset.js", "lion-fieldset.js",
"./docs/helpers/demo-fieldset-child.js" "./docs/helpers/demo-fieldset-child.js"
@ -39,5 +31,13 @@
"dependencies": { "dependencies": {
"@lion/core": "0.7.1", "@lion/core": "0.7.1",
"@lion/form-core": "0.1.5" "@lion/form-core": "0.1.5"
},
"keywords": [
"fieldset",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,38 +2,30 @@
"name": "@lion/form-core", "name": "@lion/form-core",
"version": "0.1.5", "version": "0.1.5",
"description": "Form-core contains all essential building blocks for creating form fields and fieldsets", "description": "Form-core contains all essential building blocks for creating form fields and fieldsets",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/field" "directory": "packages/field"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"test-helpers",
"test-suites",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/form-core/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/form-core/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/form-core/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/form-core/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"field"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"test-suites",
"test-helpers",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-field.js", "lion-field.js",
"lion-validation-feedback.js" "lion-validation-feedback.js"
@ -41,5 +33,13 @@
"dependencies": { "dependencies": {
"@lion/core": "0.7.1", "@lion/core": "0.7.1",
"@lion/localize": "0.12.0" "@lion/localize": "0.12.0"
},
"keywords": [
"field",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,35 +2,27 @@
"name": "@lion/form-integrations", "name": "@lion/form-integrations",
"version": "0.1.7", "version": "0.1.7",
"description": "The Form System allows you to create complex forms with various validation in an easy way", "description": "The Form System allows you to create complex forms with various validation in an easy way",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/form-integrations" "directory": "packages/form-integrations"
}, },
"scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js"
},
"keywords": [
"lion",
"web-components",
"form"
],
"main": "index.js", "main": "index.js",
"module": "index.js", "module": "index.js",
"files": [ "files": [
"*.js",
"dev-assets", "dev-assets",
"docs", "docs",
"src", "src",
"test", "test",
"translations", "translations"
"*.js"
], ],
"scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js"
},
"sideEffects": [ "sideEffects": [
"./docs/helper-wc/h-output.js" "./docs/helper-wc/h-output.js"
], ],
@ -53,5 +45,13 @@
"@lion/select-rich": "0.18.6", "@lion/select-rich": "0.18.6",
"@lion/textarea": "0.7.5", "@lion/textarea": "0.7.5",
"@lion/validate-messages": "0.1.5" "@lion/validate-messages": "0.1.5"
},
"keywords": [
"form",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,41 +2,41 @@
"name": "@lion/form", "name": "@lion/form",
"version": "0.6.5", "version": "0.6.5",
"description": "It enhances the functionality of the native `form` component. It is designed to interact with (instances of) form fields", "description": "It enhances the functionality of the native `form` component. It is designed to interact with (instances of) form fields",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/form" "directory": "packages/form"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/form/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/form/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/form/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/form/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"form"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-form.js" "lion-form.js"
], ],
"dependencies": { "dependencies": {
"@lion/core": "0.7.1", "@lion/core": "0.7.1",
"@lion/fieldset": "0.13.5" "@lion/fieldset": "0.13.5"
},
"keywords": [
"form",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,42 +2,42 @@
"name": "@lion/helpers", "name": "@lion/helpers",
"version": "0.5.1", "version": "0.5.1",
"description": "Helpers that are used throughout lion and can be used outside", "description": "Helpers that are used throughout lion and can be used outside",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/helpers" "directory": "packages/helpers"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"renderLitAsNode",
"sb-action-logger",
"sb-locale-switcher",
"sortEachDepth"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/helpers/*/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/helpers/*/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/helpers/*/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/helpers/*/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"helpers",
"action logger"
],
"main": "index.js",
"module": "index.js",
"files": [
"renderLitAsNode",
"sb-action-logger",
"sb-locale-switcher",
"sortEachDepth",
"*.js"
],
"sideEffects": [ "sideEffects": [
"sb-action-logger.js", "sb-action-logger.js",
"sb-locale-switcher.js" "sb-locale-switcher.js"
], ],
"dependencies": { "dependencies": {
"@lion/core": "0.7.1" "@lion/core": "0.7.1"
},
"keywords": [
"action logger",
"helpers",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,36 +2,28 @@
"name": "@lion/icon", "name": "@lion/icon",
"version": "0.6.3", "version": "0.6.3",
"description": "A web component easily displaying svg icons", "description": "A web component easily displaying svg icons",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/icon" "directory": "packages/icon"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/icon/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/icon/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/icon/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/icon/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"icon"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-icon.js", "lion-icon.js",
"./docs/icon-resolvers.js" "./docs/icon-resolvers.js"
@ -39,5 +31,13 @@
"dependencies": { "dependencies": {
"@lion/core": "0.7.1", "@lion/core": "0.7.1",
"singleton-manager": "1.0.0" "singleton-manager": "1.0.0"
},
"keywords": [
"icon",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,36 +2,28 @@
"name": "@lion/input-amount", "name": "@lion/input-amount",
"version": "0.7.5", "version": "0.7.5",
"description": "Provide a way for users to fill in an amount", "description": "Provide a way for users to fill in an amount",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input-amount" "directory": "packages/input-amount"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/input-amount/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/input-amount/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/input-amount/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/input-amount/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"input-amount"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-input-amount.js" "lion-input-amount.js"
], ],
@ -43,5 +35,13 @@
}, },
"devDependencies": { "devDependencies": {
"@lion/validate-messages": "0.1.5" "@lion/validate-messages": "0.1.5"
},
"keywords": [
"input-amount",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,36 +2,28 @@
"name": "@lion/input-date", "name": "@lion/input-date",
"version": "0.7.5", "version": "0.7.5",
"description": "Provide a way for users to fill in a date", "description": "Provide a way for users to fill in a date",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input-date" "directory": "packages/input-date"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/input-date/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/input-date/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/input-date/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/input-date/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"input-date"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-input-date.js" "lion-input-date.js"
], ],
@ -43,5 +35,13 @@
}, },
"devDependencies": { "devDependencies": {
"@lion/validate-messages": "0.1.5" "@lion/validate-messages": "0.1.5"
},
"keywords": [
"input-date",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,40 +2,29 @@
"name": "@lion/input-datepicker", "name": "@lion/input-datepicker",
"version": "0.14.5", "version": "0.14.5",
"description": "Provide a way for users to fill in a date via a calendar overlay", "description": "Provide a way for users to fill in a date via a calendar overlay",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input-datepicker" "directory": "packages/input-datepicker"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"test-helpers",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/input-datepicker/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/input-datepicker/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/input-datepicker/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/input-datepicker/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"input-date",
"input-datepicker",
"calendar",
"datepicker"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"test-helpers",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-input-datepicker.js" "lion-input-datepicker.js"
], ],
@ -49,5 +38,16 @@
}, },
"devDependencies": { "devDependencies": {
"@lion/validate-messages": "0.1.5" "@lion/validate-messages": "0.1.5"
},
"keywords": [
"calendar",
"datepicker",
"input-date",
"input-datepicker",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,36 +2,28 @@
"name": "@lion/input-email", "name": "@lion/input-email",
"version": "0.8.5", "version": "0.8.5",
"description": "Provide a way for users to fill in an email", "description": "Provide a way for users to fill in an email",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input-email" "directory": "packages/input-email"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/input-email/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/input-email/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/input-email/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/input-email/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"input-email"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-input-email.js" "lion-input-email.js"
], ],
@ -43,5 +35,13 @@
}, },
"devDependencies": { "devDependencies": {
"@lion/validate-messages": "0.1.5" "@lion/validate-messages": "0.1.5"
},
"keywords": [
"input-email",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,36 +2,28 @@
"name": "@lion/input-iban", "name": "@lion/input-iban",
"version": "0.9.5", "version": "0.9.5",
"description": "Provide a way for users to fill in an iban", "description": "Provide a way for users to fill in an iban",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input-iban" "directory": "packages/input-iban"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/input-iban/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/input-iban/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/input-iban/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/input-iban/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"input-iban"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-input-iban.js" "lion-input-iban.js"
], ],
@ -44,5 +36,13 @@
}, },
"devDependencies": { "devDependencies": {
"@lion/validate-messages": "0.1.5" "@lion/validate-messages": "0.1.5"
},
"keywords": [
"input-iban",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,35 +2,26 @@
"name": "@lion/input-range", "name": "@lion/input-range",
"version": "0.4.5", "version": "0.4.5",
"description": "Provide a way for users to select one value from a range of values", "description": "Provide a way for users to select one value from a range of values",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input-range" "directory": "packages/input-range"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"src",
"test"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/input-range/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/input-range/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/input-range/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/input-range/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"input-range",
"slider"
],
"main": "index.js",
"module": "index.js",
"files": [
"src",
"test",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-input-range.js" "lion-input-range.js"
], ],
@ -39,5 +30,14 @@
"@lion/form-core": "0.1.5", "@lion/form-core": "0.1.5",
"@lion/input": "0.7.5", "@lion/input": "0.7.5",
"@lion/localize": "0.12.0" "@lion/localize": "0.12.0"
},
"keywords": [
"input-range",
"lion",
"slider",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,41 +2,41 @@
"name": "@lion/input", "name": "@lion/input",
"version": "0.7.5", "version": "0.7.5",
"description": "It enhances the functionality of the native `<input>` element", "description": "It enhances the functionality of the native `<input>` element",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/input" "directory": "packages/input"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/input/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/input/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/input/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/input/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"input"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-input.js" "lion-input.js"
], ],
"dependencies": { "dependencies": {
"@lion/core": "0.7.1", "@lion/core": "0.7.1",
"@lion/form-core": "0.1.5" "@lion/form-core": "0.1.5"
},
"keywords": [
"input",
"lion",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,37 +2,29 @@
"name": "@lion/localize", "name": "@lion/localize",
"version": "0.12.0", "version": "0.12.0",
"description": "The localization system helps to manage localization data split into locales and automate its loading", "description": "The localization system helps to manage localization data split into locales and automate its loading",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/localize" "directory": "packages/localize"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"test-helpers",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/localize/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/localize/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/localize/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/localize/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"localize"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"test-helpers",
"translations",
"*.js"
],
"sideEffects": false, "sideEffects": false,
"dependencies": { "dependencies": {
"@bundled-es-modules/message-format": "6.0.4", "@bundled-es-modules/message-format": "6.0.4",
@ -41,5 +33,13 @@
}, },
"devDependencies": { "devDependencies": {
"@bundled-es-modules/fetch-mock": "^6.5.2" "@bundled-es-modules/fetch-mock": "^6.5.2"
},
"keywords": [
"lion",
"localize",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,38 +2,30 @@
"name": "@lion/overlays", "name": "@lion/overlays",
"version": "0.16.3", "version": "0.16.3",
"description": "Overlays System using lit-html for rendering", "description": "Overlays System using lit-html for rendering",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/overlays" "directory": "packages/overlays"
}, },
"scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/overlays/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/overlays/test/**/*.test.js\""
},
"keywords": [
"lion",
"web-components",
"overlays"
],
"main": "index.js", "main": "index.js",
"module": "index.js", "module": "index.js",
"files": [ "files": [
"*.js",
"docs", "docs",
"src", "src",
"test", "test",
"test-helpers", "test-helpers",
"test-suites", "test-suites",
"translations", "translations"
"*.js"
], ],
"scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/overlays/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/overlays/test/**/*.test.js\""
},
"sideEffects": [ "sideEffects": [
"./docs/demo-overlay-system.js", "./docs/demo-overlay-system.js",
"./docs/applyDemoOverlayStyles.js" "./docs/applyDemoOverlayStyles.js"
@ -42,5 +34,13 @@
"@lion/core": "0.7.1", "@lion/core": "0.7.1",
"popper.js": "^1.15.0", "popper.js": "^1.15.0",
"singleton-manager": "1.0.0" "singleton-manager": "1.0.0"
},
"keywords": [
"lion",
"overlays",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,36 +2,28 @@
"name": "@lion/radio-group", "name": "@lion/radio-group",
"version": "0.10.5", "version": "0.10.5",
"description": "Manage a group of choices", "description": "Manage a group of choices",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/radio-group" "directory": "packages/radio-group"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/radio-group/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/radio-group/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/radio-group/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/radio-group/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"radio-group"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-radio.js", "lion-radio.js",
"lion-radio-group.js" "lion-radio-group.js"
@ -41,5 +33,13 @@
"@lion/fieldset": "0.13.5", "@lion/fieldset": "0.13.5",
"@lion/form-core": "0.1.5", "@lion/form-core": "0.1.5",
"@lion/input": "0.7.5" "@lion/input": "0.7.5"
},
"keywords": [
"lion",
"radio-group",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,33 +2,27 @@
"name": "remark-extend", "name": "remark-extend",
"version": "0.2.0", "version": "0.2.0",
"description": "A plugin for remark that allows to extend a md file with another md file", "description": "A plugin for remark that allows to extend a md file with another md file",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/remark-extend" "directory": "packages/remark-extend"
}, },
"main": "index.js",
"files": [
"*.js",
"docs",
"src",
"test"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "npm run test:node", "test": "npm run test:node",
"test:node": "mocha test-node", "test:node": "mocha test-node",
"test:watch": "mocha test-node --watch" "test:watch": "mocha test-node --watch"
}, },
"keywords": [
"remark"
],
"main": "index.js",
"files": [
"docs",
"src",
"test",
"*.js"
],
"dependencies": { "dependencies": {
"remark-parse": "^8.0.0", "remark-parse": "^8.0.0",
"unified": "^9.0.0", "unified": "^9.0.0",
@ -38,5 +32,11 @@
}, },
"devDependencies": { "devDependencies": {
"remark-html": "^11.0.1" "remark-html": "^11.0.1"
},
"keywords": [
"remark"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,40 +2,28 @@
"name": "@lion/select-rich", "name": "@lion/select-rich",
"version": "0.18.6", "version": "0.18.6",
"description": "Provides a select with options that can contain html", "description": "Provides a select with options that can contain html",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/select-rich" "directory": "packages/select-rich"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/select-rich/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/select-rich/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/select-rich/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/select-rich/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"select",
"listbox",
"field",
"form",
"option"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-option.js", "lion-option.js",
"lion-options.js", "lion-options.js",
@ -47,5 +35,17 @@
"@lion/core": "0.7.1", "@lion/core": "0.7.1",
"@lion/form-core": "0.1.5", "@lion/form-core": "0.1.5",
"@lion/overlays": "0.16.3" "@lion/overlays": "0.16.3"
},
"keywords": [
"field",
"form",
"lion",
"listbox",
"option",
"select",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,41 +2,41 @@
"name": "@lion/select", "name": "@lion/select",
"version": "0.7.5", "version": "0.7.5",
"description": "Provide a set of options where you can select one", "description": "Provide a set of options where you can select one",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/select" "directory": "packages/select"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/select/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/select/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/select/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/select/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"select"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-select.js" "lion-select.js"
], ],
"dependencies": { "dependencies": {
"@lion/core": "0.7.1", "@lion/core": "0.7.1",
"@lion/form-core": "0.1.5" "@lion/form-core": "0.1.5"
},
"keywords": [
"lion",
"select",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,17 +2,23 @@
"name": "singleton-manager", "name": "singleton-manager",
"version": "1.0.0", "version": "1.0.0",
"description": "Manage singletons across multiple major versions so they converge to a single instance", "description": "Manage singletons across multiple major versions so they converge to a single instance",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/singleton-manager" "directory": "packages/singleton-manager"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"test-helpers"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"start:fail": "es-dev-server -c demo/fail/server.js", "start:fail": "es-dev-server -c demo/fail/server.js",
@ -21,18 +27,12 @@
"test": "cd ../../ && yarn test:browser --grep \"packages/singleton-manager/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/singleton-manager/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/singleton-manager/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/singleton-manager/test/**/*.test.js\""
}, },
"sideEffects": false,
"keywords": [ "keywords": [
"lion", "lion",
"singleton-manager" "singleton-manager"
], ],
"main": "index.js", "publishConfig": {
"module": "index.js", "access": "public"
"sideEffects": false, }
"files": [
"docs",
"src",
"test",
"test-helpers",
"*.js"
]
} }

View file

@ -2,42 +2,42 @@
"name": "@lion/steps", "name": "@lion/steps",
"version": "0.5.2", "version": "0.5.2",
"description": "Breaks a single goal down into dependable sub-tasks.", "description": "Breaks a single goal down into dependable sub-tasks.",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/steps" "directory": "packages/steps"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"start": "cd ../../ && yarn dev-server --open packages/steps/README.md", "start": "cd ../../ && yarn dev-server --open packages/steps/README.md",
"test": "cd ../../ && yarn test:browser --grep \"packages/steps/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/steps/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/steps/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/steps/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"steps"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-step.js", "lion-step.js",
"lion-steps.js" "lion-steps.js"
], ],
"dependencies": { "dependencies": {
"@lion/core": "0.7.1" "@lion/core": "0.7.1"
},
"keywords": [
"lion",
"steps",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,37 +2,29 @@
"name": "@lion/switch", "name": "@lion/switch",
"version": "0.10.6", "version": "0.10.6",
"description": "A Switch is used for switching a property or feature on and off", "description": "A Switch is used for switching a property or feature on and off",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/switch" "directory": "packages/switch"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"start": "cd ../../ && yarn dev-server --open packages/switch/README.md", "start": "cd ../../ && yarn dev-server --open packages/switch/README.md",
"test": "cd ../../ && yarn test:browser --grep \"packages/switch/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/switch/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/switch/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/switch/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"switch"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-switch.js", "lion-switch.js",
"lion-switch-button.js" "lion-switch-button.js"
@ -40,5 +32,13 @@
"dependencies": { "dependencies": {
"@lion/core": "0.7.1", "@lion/core": "0.7.1",
"@lion/form-core": "0.1.5" "@lion/form-core": "0.1.5"
},
"keywords": [
"lion",
"switch",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,41 +2,41 @@
"name": "@lion/tabs", "name": "@lion/tabs",
"version": "0.4.3", "version": "0.4.3",
"description": "Allows users to quickly move between a small number of equally important views.", "description": "Allows users to quickly move between a small number of equally important views.",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/tabs" "directory": "packages/tabs"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"start": "cd ../../ && yarn dev-server --open packages/tabs/README.md", "start": "cd ../../ && yarn dev-server --open packages/tabs/README.md",
"test": "cd ../../ && yarn test:browser --grep \"packages/tabs/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/tabs/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/tabs/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/tabs/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"tabs"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-tabs.js" "lion-tabs.js"
], ],
"dependencies": { "dependencies": {
"@lion/core": "0.7.1" "@lion/core": "0.7.1"
},
"keywords": [
"lion",
"tabs",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,36 +2,28 @@
"name": "@lion/textarea", "name": "@lion/textarea",
"version": "0.7.5", "version": "0.7.5",
"description": "Provide a way for users to write text that is multiple lines long", "description": "Provide a way for users to write text that is multiple lines long",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/textarea" "directory": "packages/textarea"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/textarea/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/textarea/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/textarea/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/textarea/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"textarea"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-textarea.js" "lion-textarea.js"
], ],
@ -39,5 +31,13 @@
"@lion/core": "0.7.1", "@lion/core": "0.7.1",
"@lion/form-core": "0.1.5", "@lion/form-core": "0.1.5",
"autosize": "4.0.2" "autosize": "4.0.2"
},
"keywords": [
"lion",
"textarea",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,36 +2,28 @@
"name": "@lion/tooltip", "name": "@lion/tooltip",
"version": "0.11.3", "version": "0.11.3",
"description": "Show relative overlay content on hover", "description": "Show relative overlay content on hover",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/tooltip" "directory": "packages/tooltip"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/tooltip/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/tooltip/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/tooltip/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/tooltip/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"tooltip"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"sideEffects": [ "sideEffects": [
"lion-tooltip.js", "lion-tooltip.js",
"lion-tooltip-arrow.js" "lion-tooltip-arrow.js"
@ -39,5 +31,13 @@
"dependencies": { "dependencies": {
"@lion/core": "0.7.1", "@lion/core": "0.7.1",
"@lion/overlays": "0.16.3" "@lion/overlays": "0.16.3"
},
"keywords": [
"lion",
"tooltip",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -2,42 +2,42 @@
"name": "@lion/validate-messages", "name": "@lion/validate-messages",
"version": "0.1.5", "version": "0.1.5",
"description": "A set of localized messages for default Validators", "description": "A set of localized messages for default Validators",
"license": "MIT",
"author": "ing-bank", "author": "ing-bank",
"homepage": "https://github.com/ing-bank/lion/", "homepage": "https://github.com/ing-bank/lion/",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ing-bank/lion.git", "url": "https://github.com/ing-bank/lion.git",
"directory": "packages/validate-messages" "directory": "packages/validate-messages"
}, },
"main": "index.js",
"module": "index.js",
"files": [
"*.js",
"docs",
"src",
"test",
"translations"
],
"scripts": { "scripts": {
"prepublishOnly": "../../scripts/npm-prepublish.js", "prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test:browser --grep \"packages/validate-messages/test/**/*.test.js\"", "test": "cd ../../ && yarn test:browser --grep \"packages/validate-messages/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/validate-messages/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/validate-messages/test/**/*.test.js\""
}, },
"keywords": [
"lion",
"web-components",
"validate",
"messages",
"feedback",
"translations"
],
"main": "index.js",
"module": "index.js",
"files": [
"docs",
"src",
"test",
"translations",
"*.js"
],
"dependencies": { "dependencies": {
"@lion/core": "0.7.1", "@lion/core": "0.7.1",
"@lion/form-core": "0.1.5", "@lion/form-core": "0.1.5",
"@lion/localize": "0.12.0" "@lion/localize": "0.12.0"
},
"keywords": [
"feedback",
"lion",
"messages",
"translations",
"validate",
"web-components"
],
"publishConfig": {
"access": "public"
} }
} }

View file

@ -0,0 +1,10 @@
/* eslint-disable import/no-extraneous-dependencies */
const { exec } = require('child_process');
const defaults = require('prettier-package-json/src/defaultOptions');
const currOrder = defaults.keyOrder;
// move version from position 11 to position 3
currOrder.splice(3, 0, currOrder.splice(11, 1)[0]);
exec(`prettier-package-json --key-order ${currOrder.join(',')} --write ${process.argv[2]}`);

1479
yarn.lock

File diff suppressed because it is too large Load diff