forked from starknet-io/starknet.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 4.17 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "starknet",
"version": "6.8.0",
"description": "JavaScript library for Starknet",
"main": "dist/index.js",
"module": "dist/index.mjs",
"jsdelivr": "dist/index.global.js",
"unpkg": "dist/index.global.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"browser": "./dist/index.global.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"CHANGELOG.md",
"dist"
],
"scripts": {
"prepare": "npm run build && husky",
"build": "tsup && npm run build:esm && npm run build:iife && npm run build:dts",
"build:esm": "tsup --clean false --format esm --platform node",
"build:iife": "tsup --clean false --format iife --platform browser",
"build:dts": "tsup --clean false --dts-only",
"pretest": "npm run lint && npm run ts:check",
"test": "jest -i",
"posttest": "npm run format -- --log-level warn",
"test:watch": "jest --watch",
"docs": "cd www && npm run start",
"docs:build": "cd www && GIT_REVISION_OVERRIDE=${npm_config_git_revision_override} npm run build",
"docs:build:version": "v=$(npm run info:version -s) && npm run docs:build --git-revision-override=${npm_config_git_revision_override=v$v}",
"docs:version": "v=$(npm run info:version -s) && cd www && npm run version ${npm_config_version_override=$v}",
"info:version": "npm pkg get version | xargs",
"format": "prettier --log-level log --write \"**/*.{ts,js,md,yml,json}\"",
"lint": "eslint . --cache --fix --ext .ts",
"ts:check": "tsc --noEmit --resolveJsonModule --project tsconfig.eslint.json"
},
"keywords": [
"starknet",
"cairo",
"starkware",
"l2",
"zk",
"rollup"
],
"repository": "github:starknet-io/starknet.js",
"author": "Sean Han",
"license": "MIT",
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@babel/preset-typescript": "^7.17.12",
"@commitlint/cli": "^19.0.0",
"@commitlint/config-conventional": "^19.0.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^12.0.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^12.0.0",
"@semantic-release/release-notes-generator": "^13.0.0",
"@types/isomorphic-fetch": "^0.0.39",
"@types/jest": "^29.5.0",
"@types/jest-json-schema": "^6.1.1",
"@types/pako": "^2.0.0",
"@types/url-join": "^4.0.1",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"ajv": "^8.12.0",
"ajv-keywords": "^5.1.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^5.1.3",
"fetch-intercept": "^2.4.0",
"husky": "^9.0.11",
"import-sort-style-module": "^6.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-json-schema": "^6.1.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"prettier-plugin-import-sort": "^0.0.7",
"semantic-release": "^23.0.5",
"tsup": "^8.0.2",
"typedoc": "^0.25.7",
"typescript": "~5.4.0"
},
"dependencies": {
"@noble/curves": "~1.4.0",
"@scure/base": "~1.1.3",
"@scure/starknet": "~1.0.0",
"abi-wan-kanabi": "^2.2.2",
"fetch-cookie": "^3.0.0",
"isomorphic-fetch": "^3.0.0",
"lossless-json": "^4.0.1",
"pako": "^2.0.4",
"ts-mixer": "^6.0.3",
"url-join": "^4.0.1",
"starknet-types-07": "npm:starknet-types@^0.7.2"
},
"lint-staged": {
"*.ts": "eslint --cache --fix",
"*.{ts,js,md,yml,json}": "prettier --write"
},
"jest": {
"snapshotFormat": {
"escapeString": true,
"printBasicPrototype": true
},
"testMatch": [
"**/__tests__/**/(*.)+(spec|test).[jt]s?(x)"
],
"setupFilesAfterEnv": [
"./__tests__/config/jest.setup.ts"
],
"globalSetup": "./__tests__/config/jestGlobalSetup.ts",
"sandboxInjectedGlobals": [
"Math"
]
},
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module",
"parser": "typescript"
}
}
}