-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 2.23 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 2.23 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
{
"name": "@starknet-io/types-js",
"version": "0.10.3",
"author": "Toni Tabak <tabaktoni@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/starknet-io/types-js.git"
},
"bugs": {
"url": "https://github.com/starknet-io/types-js/issues"
},
"description": "Shared TypeScript definitions for Starknet projects",
"homepage": "https://github.com/starknet-io/types-js",
"keywords": [
"starknet",
"starkware",
"l2",
"zk",
"rollup",
"wallet",
"dapp"
],
"license": "MIT",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"default": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"typings": "./dist/types/index.d.ts",
"sideEffects": false,
"files": [
"dist/**"
],
"scripts": {
"pretest": "npm run lint && npm run ts:check",
"build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:types",
"build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./dist/cjs --removeComments --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json",
"build:esm": "tsc --project ./tsconfig.build.json --module es2015 --outDir ./dist/esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./dist/esm/package.json",
"build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
"clean": "npx rimraf dist",
"format": "biome format --write .",
"lint": "biome lint --write .",
"check": "biome check --write .",
"ts:check": "tsc --noEmit --resolveJsonModule --project tsconfig.eslint.json"
},
"devDependencies": {
"@biomejs/biome": "^2.3.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^13.1.1",
"@semantic-release/release-notes-generator": "^14.0.0",
"semantic-release": "^25.0.1",
"typescript": "^5.9.3"
},
"publishConfig": {
"access": "public"
}
}