Socket
Socket
Sign inDemoInstall

starknet-types

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.3 to 0.0.4

dist/cjs/common/constants.js

36

package.json
{
"name": "starknet-types",
"version": "0.0.3",
"version": "0.0.4",
"description": "Shared TypeScript definitions for Starknet projects",
"homepage": "https://github.com/starknet-io/types-js",
"keywords": [

@@ -15,13 +16,27 @@ "starknet",

"license": "MIT",
"main": "dist-types/index.d.ts",
"types": "dist-types/index.d.ts",
"type": "module",
"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-types/**"
"dist/**"
],
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc --build",
"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": "prettier --log-level log --write \"**/*.{ts,js,md,yml,json}\"",

@@ -43,3 +58,6 @@ "lint": "eslint . --cache --fix --ext .ts",

"typescript": "^5.4.3"
},
"publishConfig": {
"access": "public"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc