@kvdbil/components 9.3.0 → 9.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +11 -9
package/package.json CHANGED
@@ -1,25 +1,24 @@
1
1
  {
2
2
  "name": "@kvdbil/components",
3
- "version": "9.3.0",
3
+ "version": "9.4.0",
4
4
  "sideEffects": false,
5
5
  "main": "cjs/index.js",
6
6
  "module": "esm/index.js",
7
7
  "types": "types/index.d.ts",
8
8
  "scripts": {
9
- "start": "yarn storybook",
9
+ "start": "yarn dev",
10
+ "dev": "yarn start-storybook -s ./public -p 6006 watch-css",
10
11
  "test": "CI=true react-scripts test",
11
- "type-check": "tsc",
12
12
  "test:watch": "react-scripts test",
13
+ "type-check": "tsc",
13
14
  "generateIcons": "svgr --icon 1em --template ./src/icons/template.js -d ./src/icons/components ./src/icons/svgs --typescript",
14
- "build:rollup": "rollup -c && cp package.json dist/",
15
15
  "build": "yarn run generateIcons && yarn lint && yarn test && rollup -c && yarn create-declaration",
16
+ "build:rollup": "rollup -c && cp package.json dist/",
17
+ "build:storybook": "build-storybook -s ./public",
16
18
  "lint": "eslint --fix --ext .js,.jsx,.ts,.tsx,.mdx src",
17
- "dev": "yarn storybook",
18
- "storybook": "start-storybook -s ./public -p 6006 watch-css",
19
- "build-storybook": "build-storybook -s ./public",
20
- "updateSnapshots": "yarn test -u",
21
19
  "analyze": "rollup -c rollup.config.analyze.js",
22
- "create-declaration": "yarn tsc --p tsconfig.production.json --emitDeclarationOnly --noEmit false --declaration true --declarationDir dist/types"
20
+ "create-declaration": "yarn tsc --p tsconfig.production.json --emitDeclarationOnly --noEmit false --declaration true --declarationDir dist/types",
21
+ "prepare": "husky install"
23
22
  },
24
23
  "peerDependencies": {
25
24
  "react": ">= 17.0.0",
@@ -41,6 +40,8 @@
41
40
  ],
42
41
  "devDependencies": {
43
42
  "@babel/core": "^7.11.6",
43
+ "@commitlint/cli": "^16.2.4",
44
+ "@commitlint/config-conventional": "^16.2.4",
44
45
  "@rollup/plugin-commonjs": "^20.0.0",
45
46
  "@rollup/plugin-inject": "^4.0.2",
46
47
  "@rollup/plugin-node-resolve": "^13.0.4",
@@ -77,6 +78,7 @@
77
78
  "eslint-plugin-mdx": "^1.15.0",
78
79
  "eslint-plugin-prettier": "^4.0.0",
79
80
  "eslint-plugin-react": "^7.25.1",
81
+ "husky": "^7.0.4",
80
82
  "jest-styled-components": "^7.0.3",
81
83
  "jest-watch-typeahead": "^0.6.1",
82
84
  "node-sass": "^6.0.1",