diff --git a/.gitignore b/.gitignore index b91bd75d7..7fe4281a9 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ dist .next .eslintcache storybook-static +preact/ # these cause more harm than good # when working with contributors diff --git a/package.json b/package.json index 4aef88915..54d8fa3aa 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,8 @@ { "name": "downshift", "version": "0.0.0-semantically-released", - "description": "A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete components", + "description": + "A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete components", "main": "dist/downshift.cjs.js", "jsnext:main": "dist/downshift.es.js", "module": "dist/downshift.es.js", @@ -9,7 +10,7 @@ "scripts": { "add-contributor": "kcd-scripts contributors add", "doc": "doctoc README.md --maxlevel 2 --notitle", - "build": "kcd-scripts build --browser --p-react", + "build": "kcd-scripts build --bundle --p-react", "lint": "kcd-scripts lint", "test": "kcd-scripts test", "test:cover": "kcd-scripts test --coverage", @@ -18,14 +19,12 @@ "test:build": "kcd-scripts test --config other/jest.config.js --no-watch", "build-and-test": "npm run build -s && npm run test:build -s", "storybook": "start-storybook -p 6006 -c stories", - "storybook:build": "cd stories && npm install && cd .. && build-storybook -c stories", + "storybook:build": + "cd stories && npm install && cd .. && build-storybook -c stories", "validate": "kcd-scripts validate lint,build-and-test,test:cover,test:ts", "precommit": "kcd-scripts precommit" }, - "files": [ - "dist", - "typings" - ], + "files": ["dist", "typings"], "keywords": [ "enhanced input", "react", @@ -51,9 +50,9 @@ "@storybook/react": "^3.2.3", "doctoc": "^1.3.0", "enzyme": "^2.9.1", - "enzyme-to-json": "^1.5.1", + "enzyme-to-json": "^2.0.0", "jest-serializer-html": "^4.0.0", - "kcd-scripts": "^0.6.1", + "kcd-scripts": "^0.16.3", "preact": "^8.2.1", "preact-render-to-string": "^3.6.3", "prop-types": "^15.5.10",