-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
86 lines (86 loc) · 3.14 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
{
"name": "web-adtrace",
"version": "2.3.3",
"description": "This is the guide to the Javascript SDK of Adtrace™ for web sites or web apps. You can read more about Adtrace™ at [adtrace.io].",
"scripts": {
"build:demo": "webpack --mode production --config webpack.demo.config.js",
"build:sdk": "webpack --config webpack.sdk.config.js",
"build:snippet": "terser -d env.INTEGRITY=0 ./src/snippet.js -o ./dist/sdk.snippet.min.js -c -m",
"build:snippet-sri": "INTEGRITY=(\"sha384-$(openssl dgst -sha384 -binary ./dist/adtrace-latest.min.js | openssl base64 -A)\") && terser -d env.INTEGRITY=\"'$INTEGRITY'\" ./src/snippet.js -o ./dist/sdk.snippet-sri.min.js -c -m && printf $INTEGRITY > dist/INTEGRITY",
"build": "npm-run-all build:sdk build:demo build:snippet build:snippet-sri",
"clean": "rm -rf ./demo/*",
"start": "webpack serve --hot --mode development --config webpack.demo.config.js",
"lint": "eslint ./src --ext .js,.ts",
"lint:fix": "npm run lint -- --fix",
"flow": "flow status --quiet"
},
"main": "dist/adtrace-latest.js",
"types": "dist/adtrace-latest.d.ts",
"keywords": [],
"author": "Adtrace",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.20.2",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-flow-comments": "^7.19.0",
"@babel/plugin-transform-modules-commonjs": "^7.19.6",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@babel/preset-flow": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"babel-loader": "^9.1.0",
"babel-plugin-es6-promise": "^1.1.1",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.2.2",
"es6-promise": "^4.2.8",
"eslint": "^8.27.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-jest": "^26.6.0",
"eslint-webpack-plugin": "^3.2.0",
"fake-indexeddb": "^4.0.0",
"flow-bin": "^0.192.0",
"flowtype-webpack-plugin": "^0.0.3",
"fork-ts-checker-webpack-plugin": "^7.2.13",
"html-loader": "^4.2.0",
"html-webpack-plugin": "^5.5.0",
"mini-css-extract-plugin": "^2.6.1",
"npm-run-all": "^4.1.5",
"regenerator-runtime": "^0.13.10",
"sass": "^1.56.1",
"sass-loader": "^13.2.0",
"style-loader": "^3.3.1",
"template-ejs-loader": "^0.9.4",
"terser": "^5.15.1",
"terser-webpack-plugin": "^5.3.6",
"ts-jest": "^28.0.7",
"typescript": "^4.8.4",
"webpack": "^5.75.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1"
},
"dependencies": {
"@babel/runtime": "^7.20.1"
},
"directories": {
"doc": "docs"
},
"files": [
"dist/adtrace-latest.d.ts",
"dist/adtrace-latest.js",
"dist/adtrace-latest.min.js",
"docs/**/*",
"CHANGELOG.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/adtrace/adtrace_sdk_web.git"
},
"bugs": {
"url": "https://github.com/adtrace/adtrace_sdk_web/issues"
},
"homepage": "https://github.com/adtrace/adtrace_sdk_web#readme"
}