forked from xapijs/xapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2.42 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
{
"name": "@xapi/xapi",
"version": "2.2.8",
"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:example:node:require && npm run test:example:node:import",
"test:unit": "jest --testPathPattern=.unit.test.ts",
"test:int": "jest --testPathPattern=.int.test.ts --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 . --ext .ts,.js --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-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.23.2",
"@babel/preset-typescript": "^7.23.2",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@types/jest": "^29.5.7",
"@types/node": "^20.8.10",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"babel-jest": "^29.7.0",
"crypto-js": "^4.2.0",
"dotenv": "^16.3.1",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.0.3",
"rimraf": "^5.0.5",
"rollup": "^4.3.0",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2",
"uuid": "^9.0.1"
},
"dependencies": {
"axios": "^1.6.0"
}
}