-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.15 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.15 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
{
"name": "counterapi",
"version": "2.1.2",
"description": "JavaScript library for CounterAPI (node & browser)",
"type": "module",
"main": "dist/counter.js",
"module": "dist/counter.esm.js",
"browser": "dist/counter.browser.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/counter.esm.js",
"require": "./dist/counter.js",
"browser": "./dist/counter.browser.js",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "rollup -c",
"build:watch": "rollup -c -w",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:integration": "cross-env RUN_INTEGRATION_TESTS=true jest src/integration.test.ts",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"typecheck": "tsc --noEmit",
"dev": "rollup -c -w",
"prepublishOnly": "npm run build && npm run test && npm run lint"
},
"keywords": [
"counterapi",
"counter",
"hit counter",
"api",
"javascript",
"typescript",
"sdk"
],
"author": {
"name": "CounterAPI"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/counterapi/counter.js.git"
},
"bugs": {
"url": "https://github.com/counterapi/counter.js/issues"
},
"homepage": "https://github.com/counterapi/counter.js#readme",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@types/jest": "^29.5.8",
"@types/node": "^22.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.53.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"rollup": "^4.3.0",
"ts-jest": "^29.1.1",
"tslib": "^2.8.1",
"typescript": "^5.2.2"
},
"dependencies": {
"axios": "^1.9.0"
},
"engines": {
"node": ">=14"
}
}