-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 2.1 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
{
"name": "@pushme-tgxn/pushmesdk",
"author": "tgxn <[email protected]>",
"keywords": [
"javascript",
"cli",
"console",
"sdk"
],
"version": "1.11.0",
"repository": "https://github.com/pushme-tgxn/PushMeSDK",
"sideEffects": false,
"main": "./dist/commonjs-node/index.js",
"module": "./dist/esm-node/index.js",
"scripts": {
"babel:clean": "rm -rf ./dist",
"babel:commonjsNode": "babel --env-name commonjsNode src --source-root src --out-dir ./dist/commonjs-node ",
"babel:commonjsBrowser": "babel --env-name commonjsBrowser src --source-root src --out-dir ./dist/commonjs-browser",
"babel:esmNode": "babel --env-name esmNode src --source-root src --out-dir ./dist/esm-node --copy-files",
"babel:esmBrowser": "babel --env-name esmBrowser src --source-root src --out-dir ./dist/esm-browser --copy-files",
"bundle": "run-s -n babel:*",
"test:src": "mocha test/sdk.test.mjs",
"test:esm": "mocha test/built-esm.test.mjs",
"test:cjs": " mocha test/built-cjs.test.cjs",
"test": "run-s -n test:*",
"coverage": "c8 mocha test/sdk.test.mjs"
},
"exports": {
".": {
"node": {
"module": "./dist/esm-node/index.js",
"import": "./dist/esm-node/index.js",
"require": "./dist/commonjs-node/index.js"
},
"browser": {
"import": "./dist/esm-browser/index.js",
"require": "./dist/commonjs-browser/index.js"
},
"default": "./dist/esm-browser/index.js"
},
"./package.json": "./package.json"
},
"files": [
"README.md",
"dist"
],
"license": "MIT",
"dependencies": {
"axios": "^1.3.1"
},
"devDependencies": {
"@babel/cli": "7.20.7",
"@babel/core": "7.20.12",
"@babel/preset-env": "^7.20.2",
"@faker-js/faker": "^7.6.0",
"c8": "^7.12.0",
"chai": "^4.3.7",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.3"
}
}