-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
77 lines (77 loc) · 2.64 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
{
"name": "@xapi/xapi",
"version": "3.0.1",
"description": "Communicate over xAPI using JavaScript.",
"main": "dist/XAPI.cjs.js",
"module": "dist/XAPI.esm.js",
"browser": "dist/XAPI.umd.js",
"typings": "dist/types/XAPI.d.ts",
"files": [
"dist/**/*"
],
"scripts": {
"prepublishOnly": "npm run build",
"clean": "rimraf ./dist",
"build:js": "rollup --config --bundleConfigAsCjs",
"build:types": "tsc --emitDeclarationOnly",
"build": "npm run clean && npm run build:types && npm run build:js",
"format": "prettier --write '**/*.{js,jsx,json,ts,tsx}'",
"test": "jest --runInBand && npm run test:edge && npm run test:example:node:require && npm run test:example:node:import",
"test:edge": "jest --runInBand --config jest.config.edge.js",
"test:unit": "jest --selectProjects dom-axios-unit dom-fetch-unit node-axios-unit node-fetch-unit",
"test:int": "jest --selectProjects dom-axios-int dom-fetch-int node-axios-int node-fetch-int --runInBand",
"test:format": "prettier --check .",
"test:example:node:require": "node ./example/node/require.js",
"test:example:node:import": "node --experimental-modules --es-module-specifier-resolution=node ./example/node/import.mjs",
"lint": "eslint . --max-warnings=0"
},
"repository": {
"type": "git",
"url": "https://github.com/xapijs/xapi.git"
},
"keywords": [
"xapi",
"typescript"
],
"author": "Christian Cook",
"license": "MIT",
"bugs": {
"url": "https://github.com/xapijs/xapi/issues"
},
"homepage": "https://www.xapijs.dev",
"funding": "https://github.com/sponsors/CookieCookson",
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/plugin-transform-optional-chaining": "^7.25.9",
"@babel/preset-env": "^7.23.2",
"@babel/preset-typescript": "^7.23.2",
"@edge-runtime/jest-environment": "^3.0.4",
"@eslint/js": "^9.15.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@types/crypto-js": "^4.2.2",
"@types/jest": "^29.5.7",
"@types/node": "^22.9.1",
"babel-jest": "^29.7.0",
"crypto-js": "^4.2.0",
"dotenv": "^16.3.1",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.0.3",
"rimraf": "^6.0.1",
"rollup": "^4.3.0",
"ts-jest": "^29.1.1",
"typescript": "^5.6.3",
"typescript-eslint": "^8.15.0",
"whatwg-fetch": "^3.6.20"
},
"dependencies": {
"axios": "^1.6.0"
}
}