-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
100 lines (100 loc) · 2.85 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
96
97
98
99
100
{
"name": "ad-rotator",
"title": "ad-rotator.js",
"description": "A light-weight JS library to rotate advertisements.",
"version": "5.8.1",
"homepage": "https://github.com/digitalfortress-tech/ad-rotator",
"license": "MIT",
"scripts": {
"dev": "vite",
"prod": "vite build --mode production",
"watch": "vite build --watch.exclude 'node_modules/**'",
"preview": "vite preview",
"tag": "npm version minor --no-git-tag-version && npm run prod && PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git commit -am \"$PACKAGE_VERSION release\" && git tag v$PACKAGE_VERSION",
"test-unit": "jest src --verbose",
"test-e2e-gui": "npm run cy:open",
"test-e2e": "npm run cy:run",
"cy:run": "npx cypress run --headless --browser chrome",
"cy:open": "npx cypress open --browser chrome",
"lint": "eslint --fix ./src",
"copy-typescript-definitions": "copyfiles -u 1 \"src/**/*.d.ts\" dist"
},
"jest": {
"transform": {
"^.+\\.(js|jsx)$": "babel-jest",
"^.+\\.(ts|tsx)?$": "ts-jest",
"^.+\\.(css|less)$": "<rootDir>/styleMock.js"
},
"testEnvironment": "jsdom"
},
"author": {
"name": "Niket Pathak",
"email": "[email protected]",
"url": "https://niketpathak.com"
},
"main": "./dist/rotator.umd.js",
"module": "./dist/rotator.es.js",
"types": "./dist/types.d.ts",
"sideEffects": false,
"exports": {
".": {
"import": "./dist/rotator.es.js",
"require": "./dist/rotator.umd.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/digitalfortress-tech/ad-rotator.git"
},
"bugs": {
"url": "https://github.com/digitalfortress-tech/ad-rotator/issues"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/digitalfortress-tech/ad-rotator/blob/master/LICENSE"
}
],
"files": [
"dist/"
],
"keywords": [
"ad",
"adverts",
"rotator",
"adrotator",
"ad rotator",
"ad rotation",
"adrotation",
"rotate ad",
"rotate ads",
"ads",
"advertisement",
"bypass adblock",
"disable adblock",
"penetrate adblock",
"blockadblock"
],
"devDependencies": {
"@babel/preset-env": "^7.22.20",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"axe-core": "^4.8.2",
"copyfiles": "^2.4.1",
"cypress": "^13.3.0",
"cypress-axe": "^1.5.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"less": "^4.2.0",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.0",
"typescript": "^5.2.2",
"vite": "^4.4.11",
"vite-plugin-dts": "^3.6.0"
}
}