-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.88 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 2.88 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "@absmartly/javascript-sdk",
"version": "1.13.4",
"description": "A/B Smartly Javascript SDK",
"homepage": "https://github.com/absmartly/javascript-sdk#README.md",
"bugs": "https://github.com/absmartly/javascript-sdk/issues",
"keywords": [
"absmartly",
"ab-smartly",
"a/b-smartly",
"ab-testing",
"a/b-testing",
"split-testing",
"ab",
"a/b",
"cro"
],
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
"browser": "dist/absmartly.min.js",
"types": "types/index.d.ts",
"engines": {
"npm": ">=3",
"node": ">=6"
},
"scripts": {
"build-browser": "TARGET=browser webpack --progress --config webpack.config.js && TARGET=browser NODE_ENV=production webpack --progress --config webpack.config.js",
"build-cjs": "TARGET=cjs babel js --delete-dir-on-start --ignore 'browser.js' -d lib",
"build-es": "TARGET=es babel js --delete-dir-on-start --ignore 'browser.js' -d es",
"build": "npm run -s format && npm run -s lint && npm run -s compile && npm run -s test && npm run -s build-es && npm run -s build-cjs && npm run -s build-browser",
"lint": "eslint -f stylish 'src/**/*.{js,mjs,jsx,ts,mts,tsx}'",
"format": "prettier --write '**/*.{js,mjs,jsx,json,ts,mts,tsx}'",
"test": "jest --coverage",
"prepack": "npm run -s build",
"compile": "tsc"
},
"dependencies": {
"node-fetch": "^2.6.7",
"rfdc": "^1.3.0",
"core-js": "^3.20.0"
},
"devDependencies": {
"@babel/cli": "^7.17.3",
"@babel/core": "^7.17.4",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-export-default-from": "^7.16.7",
"@babel/plugin-proposal-export-namespace-from": "^7.16.7",
"@babel/plugin-proposal-logical-assignment-operators": "^7.16.7",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
"@babel/plugin-proposal-numeric-separator": "^7.16.7",
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
"@babel/plugin-proposal-throw-expressions": "^7.16.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.16.7",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.18.6",
"@babel/register": "^7.17.0",
"@types/jest": "^29.2.5",
"@types/node-fetch": "^2.6.2",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"babel-jest": "^29",
"babel-loader": "^8.2.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^7.1.0",
"jest": "^29.3.1",
"prettier": "^2.4.1",
"terser-webpack-plugin": "^5.3.1",
"ts-jest": "^29.0.5",
"ts-loader": "^9.4.2",
"typescript": "^4.9.4",
"webpack": "^5.60.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.1"
},
"publishConfig": {
"access": "public"
},
"files": [
"README.md",
"CONTRIBUTING.md",
"LICENSE",
"package.json",
"dist/",
"es/",
"lib/",
"types/"
]
}