forked from starknet-io/starknet.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 4.14 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
{
"name": "starknet",
"version": "6.1.2",
"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 install",
"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",
"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 --loglevel warn --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": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^10.0.0",
"@semantic-release/release-notes-generator": "^11.0.0",
"@types/isomorphic-fetch": "^0.0.36",
"@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": "^6.21.0",
"@typescript-eslint/parser": "^6.21.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": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"fetch-intercept": "^2.4.0",
"husky": "^8.0.1",
"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": "^13.0.1",
"prettier": "^2.7.0",
"prettier-plugin-import-sort": "^0.0.7",
"tsup": "^6.7.0",
"typedoc": "^0.25.7",
"typescript": "^5.3.0"
},
"dependencies": {
"@noble/curves": "~1.3.0",
"@scure/base": "~1.1.3",
"@scure/starknet": "~1.0.0",
"fetch-cookie": "github:NethermindEth/fetch-cookie#export-cookieimpl",
"abi-wan-kanabi-v2": "npm:abi-wan-kanabi@^2.2.1",
"isomorphic-fetch": "^3.0.0",
"lossless-json": "^2.0.8",
"pako": "^2.0.4",
"ts-mixer": "^6.0.3",
"url-join": "^4.0.1"
},
"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"
}
}
}