-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.73 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 2.73 KB
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
{
"name": "gb-tracker-client",
"version": "5.5.0",
"description": "Rezolve client-side event tracker",
"main": "index.js",
"keywords": [
"groupby",
"tracker",
"recommendations",
"rezolve"
],
"repository": {
"type": "git",
"url": "git+https://github.com/groupby/gb-tracker-client.git"
},
"scripts": {
"clean": "rm -r dist dist-tools dist-test utils build schemas 2> /dev/null; rm *.d.ts 2> /dev/null; rm *.js 2> /dev/null",
"addVersion": "node -p '\"export const version = \\\"\" + require(\"./package.json\").version + \"\\\";\"' > ./src/version.ts",
"addVersionJs": "node -p '\"module.exports = \\\"\" + require(\"./package.json\").version + \"\\\";\"' > ./test-integration/version.js",
"compile:prod": "tsc --project tsconfig.prod.json",
"compile:test": "tsc --project tsconfig.test.json",
"arrangeForNpm": "mv dist/* . && rm -r dist",
"buildForNpm": "npm run clean 2> /dev/null; npm run addVersion; npm run compile:prod && npm run arrangeForNpm",
"buildForBrowser": "npm run addVersion; npm run compile:prod && npm run webpack",
"build:test": "npm run addVersion && npm run compile:test && npm run buildForBrowser",
"test": "npm run clean 2> /dev/null; npm run build:test && cp build/gb-tracker-client-* test-integration/apps/sites && npm run addVersionJs && npm run test:unit && npm run test:integration",
"test:unit": "ts-mocha -p tsconfig.test.json -r jsdom-global/register 'test/**/*.spec.ts'",
"test:integration": "ts-mocha -p tsconfig.test.json 'test-integration/**/*.spec.js'",
"webpack": "webpack --config ./config/webpack.config.dev.js && webpack --config ./config/webpack.config.prod.js"
},
"author": "Rezolve",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.11.1",
"@types/atob": "^2.1.2",
"@types/chai": "^4.2.12",
"@types/cuid": "^1.3.1",
"@types/deep-diff": "^1.0.0",
"@types/glob": "^7.1.3",
"@types/jsdom": "^16.2.3",
"@types/lz-string": "^1.3.34",
"@types/mocha": "^9.0.0",
"@types/node": "^14.0.27",
"@types/query-string": "^5.1.0",
"@types/stringify-object": "^3.3.0",
"babel-loader": "^8.1.0",
"body-parser": "^1.19.0",
"chai": "^4.2.0",
"express": "^4.17.1",
"fs-extra": "^8.1.0",
"glob": "^7.1.6",
"jsdom": "^15.2.1",
"jsdom-global": "^3.0.2",
"json-diff": "^0.5.4",
"mocha": "^7.2.0",
"moment": "^2.27.0",
"morgan": "^1.10.0",
"puppeteer": "^2.1.1",
"ts-mocha": "^8.0.0",
"typescript": "^3.9.7",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12"
},
"types": "index.d.ts",
"dependencies": {
"cookies-js": "^1.2.3",
"cuid": "^2.1.8",
"deep-diff": "^1.0.2",
"query-string": "^5.1.1",
"schema-inspector": "^2.0.1"
}
}