diff --git a/.babelrc b/.babelrc index 29f5544..bf709ec 100644 --- a/.babelrc +++ b/.babelrc @@ -1,5 +1,6 @@ { "plugins": [ - ["module:fast-async"] + ["module:fast-async"], + ["@babel/plugin-transform-react-jsx", {"pragma":"React.createElement" }] ] } \ No newline at end of file diff --git a/jest.config.js b/jest.config.js deleted file mode 100644 index 57a1761..0000000 --- a/jest.config.js +++ /dev/null @@ -1,11 +0,0 @@ -const base = require('../../tools/jest/config.base.js'); -const pack = require("./package"); - -module.exports = { - ...base, - transform: { - '^.+\\.js$': '../../tools/jest/babel-jest-wrapper.js' - }, - displayName: pack.name, - name: pack.name -}; \ No newline at end of file diff --git a/package.json b/package.json index bdc8ef3..41f22ef 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,17 @@ { - "name": "frontend-test-minimal", + "name": "storm-frontend-test", "version": "0.1.0", - "description": "", + "description": "https://careers.stormid.com/jobs", "author": "stormid", "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/stormid/frontend-test-minimal.git" + "url": "https://github.com/stormid/storm-frontend-test.git" }, - "bugs": { - "url": "https://github.com/stormid/frontend-test-minimal/issues" - }, - "main": "index.js", "keywords": [ - "stormid" + "stormid", + "frontend", + "test" ], "scripts": { "api": "node api", @@ -30,6 +28,7 @@ }, "dependencies": { "@babel/core": "^7.2.2", + "@babel/plugin-transform-react-jsx": "^7.3.0", "@babel/preset-env": "^7.3.1", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.4",