-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
95 lines (95 loc) · 3.8 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "tab-ads",
"version": "1.1.24",
"description": "An NPM package to manage ads logic for Tab for a Cause",
"main": "build/index.js",
"repository": "git@github.com:gladly-team/tab-ads.git",
"author": "Gladly Team",
"license": "MIT",
"private": false,
"scripts": {
"build": "npm-run-all -s build:clean build:src",
"build:clean": "rm -rf ./build",
"build:src": "babel src --out-dir build --ignore \"src/**/__tests__/*\",\"src/**/__mocks__/*\"",
"lint": "eslint ./src/",
"test": "npm-run-all -s lint test:coverage coverage",
"test:run": "jest --env=jsdom --testPathIgnorePatterns=prebidPatches",
"test:coverage": "yarn run test:run --coverage",
"test:watch": "yarn run test:run --watch",
"coverage": "if-env LOG_TEST_COVERAGE=true && codecov || echo 'Skipping test coverage logging.'",
"prebid:build": "npm-run-all -s prebid:build:explanation prebid:apply-patches prebid:install prebid:generate prebid:cp",
"prebid:build:explanation": "echo \"Building Prebid. We apply any of our patches to the prebid.js module, build it from source, and keep the build Prebid JS in source control.\"",
"prebid:apply-patches": "patch-package",
"prebid:install": "cd ./node_modules/prebid.js/ && yarn",
"prebid:generate": "cd ./node_modules/prebid.js/ && ./node_modules/gulp/bin/gulp.js build --modules \"../../src/providers/prebid/modules.json\"",
"prebid:cp": "echo \"/* eslint-disable */\" > ./src/providers/prebid/built/pb.js && cat ./node_modules/prebid.js/build/dist/prebid.js >> ./src/providers/prebid/built/pb.js",
"prebid:create-patches": "yarn patch-package prebid.js --include '^(src|modules)/'",
"prebid:test-patches": "npm-run-all -s prebid:test-patches:explanation \"prebid:test-patches:run {1}\" --",
"prebid:test-patches:run": "jest test --env=jsdom --testMatch **/**/prebidPatches*",
"prebid:test-patches:explanation": "echo \"Testing Prebid patches. Be sure to run prebid:install and prebid:apply-patches first.\"",
"dev:publish": "npm-run-all -s build dev:yalc-publish-push",
"dev:yalc-publish-push": "yalc publish --push"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.5",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"babel-jest": "^27.5.1",
"babel-plugin-module-resolver": "^4.1.0",
"codecov": "^3.8.3",
"core-js": "^3.21.1",
"eslint": "^8.10.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.3",
"eslint-plugin-react-hooks": "^4.3.0",
"if-env": "^1.0.4",
"jest": "^27.5.1",
"jsdom": "^19.0.0",
"mockdate": "^3.0.5",
"npm-run-all": "^4.1.5",
"patch-package": "^6.4.7",
"prebid.js": "^7.25.0",
"prettier": "^2.5.1",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"dependencies": {
"lodash": "^4.17.21"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!**/__mocks__/**",
"!**/__tests__/**",
"!src/providers/prebid/built/**"
],
"modulePaths": [
"<rootDir>/"
],
"setupFilesAfterEnv": [
"<rootDir>/src/jestSetup.js"
],
"testPathIgnorePatterns": [
"<rootDir>[/\\\\](build|dist|docs|node_modules)[/\\\\]"
],
"testEnvironment": "node",
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!(prebid.js|dlv)/)"
]
},
"peerDependencies": {
"react": ">=16.8.0 <18",
"react-dom": "^>=16.8.0 <18"
}
}