From 02d05836d1a4fb2f6842fe5bce6503319be2d86c Mon Sep 17 00:00:00 2001 From: Alessandro Genova Date: Mon, 15 Oct 2018 06:58:37 -0400 Subject: [PATCH] Update config --- package.json | 13 ++++++++----- tsconfig.json | 18 +++++------------- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index a17e820..95ba447 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "split-me", - "version": "1.1.0", + "version": "1.1.1", "description": "Universal web component to create arbitrary split layouts ", "module": "dist/esm/index.js", "main": "dist/index.js", @@ -12,8 +12,8 @@ "scripts": { "build": "stencil build", "start": "stencil build --dev --watch --serve", - "test": "jest", - "test.watch": "jest --watch", + "test": "stencil test --spec --e2e", + "test.watch": "stencil test --spec --e2e --watchAll", "prepublishOnly": "rm -rf .stencil/ dist/ www/ && npm install && npm run build" }, "dependencies": { @@ -23,10 +23,13 @@ "@stencil/core": "^0.13.2", "@types/jest": "^23.3.2", "@types/lodash.throttle": "^4.1.4", + "@types/puppeteer": "1.9.0", "husky": "^1.0.1", - "jest": "^23.6.0", + "jest": "23.5.0", + "pixelmatch": "4.0.2", "prettier": "^1.14.3", - "pretty-quick": "^1.7.0" + "pretty-quick": "^1.7.0", + "puppeteer": "1.7.0" }, "repository": { "type": "git", diff --git a/tsconfig.json b/tsconfig.json index 48c9ca6..1ba9490 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,23 +4,15 @@ "allowUnreachableCode": false, "declaration": false, "experimentalDecorators": true, - "lib": [ - "dom", - "es2015" - ], + "lib": ["dom", "es2017"], "moduleResolution": "node", - "module": "es2015", - "target": "es2015", + "module": "esnext", + "target": "es2017", "noUnusedLocals": true, "noUnusedParameters": true, "jsx": "react", "jsxFactory": "h" }, - "include": [ - "src", - "types/jsx.d.ts" - ], - "exclude": [ - "node_modules" - ] + "include": ["src", "types/jsx.d.ts"], + "exclude": ["node_modules"] }