Skip to content

Commit 4e291ac

Browse files
authored
Realistic Job Preview (#342)
* RJP * Updated packages and scripts * Removed test data * WIP * Added surveys query
1 parent 232d16e commit 4e291ac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+14317
-66
lines changed

package-lock.json

Lines changed: 112 additions & 65 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@
2323
"prebuild": "mkdirp build",
2424
"prebuild:compatibility": "mkdirp build",
2525
"prei18n-sync:test": "cd packages/i18n-sync && npm install",
26+
"prerjp:test": "cd packages/realistic-job-preview && npm install",
2627
"pretest": "npm run lint",
28+
"rjp:dev": "cd packages/realistic-job-preview && npm run dev --",
29+
"rjp:test": "cd packages/realistic-job-preview && npm run test --",
2730
"test": "npm-run-all *:test",
2831
"traitify:lint": "eslint {src,test}",
2932
"traitify:test": "jest --config test/jest.config.js --coverage",
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module.exports = {
2+
env: {
3+
node: true
4+
},
5+
extends: ["traitify"],
6+
ignorePatterns: ["build/*", "public/*"],
7+
rules: {
8+
"import/no-extraneous-dependencies": "off"
9+
},
10+
settings: {
11+
"import/resolver": {
12+
webpack: "./webpack.config.js"
13+
}
14+
}
15+
};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require("../../babel.config");
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import Cache from "traitify/lib/cache";
2+
import Http from "traitify/lib/http";
3+
import I18n from "traitify/lib/i18n";
4+
import Listener from "traitify/lib/listener";
5+
import Components from "./src/components";
6+
import GraphQL from "./src/lib/graphql";
7+
import Widget from "./src/lib/widget";
8+
9+
export {Cache, Components, GraphQL, Http, I18n, Listener, Widget};
10+
11+
const widget = new Widget();
12+
13+
widget.Components = Components;
14+
widget.GraphQL = GraphQL;
15+
16+
export default widget;

0 commit comments

Comments
 (0)