40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "@near-js/utils",
|
|
"version": "1.1.0",
|
|
"description": "Common methods and constants for the NEAR API JavaScript client",
|
|
"main": "lib/esm/index.js",
|
|
"type": "module",
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@scure/base": "^1.2.0",
|
|
"depd": "2.0.0",
|
|
"mustache": "4.0.0",
|
|
"@near-js/types": "0.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "^29.7.0",
|
|
"@types/node": "20.0.0",
|
|
"jest": "29.7.0",
|
|
"ts-jest": "29.2.5",
|
|
"typescript": "5.4.5",
|
|
"tsconfig": "0.0.0",
|
|
"build": "0.0.0"
|
|
},
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"exports": {
|
|
"require": "./lib/commonjs/index.cjs",
|
|
"import": "./lib/esm/index.js"
|
|
},
|
|
"scripts": {
|
|
"build": "pnpm compile:esm && pnpm compile:cjs",
|
|
"compile:esm": "tsc -p tsconfig.json",
|
|
"compile:cjs": "tsc -p tsconfig.cjs.json && cjsify ./lib/commonjs",
|
|
"lint": "eslint -c ../../.eslintrc.ts.yml src/**/*.ts test/**/*.ts --no-eslintrc",
|
|
"lint:fix": "eslint -c ../../.eslintrc.ts.yml src/**/*.ts test/**/*.ts --no-eslintrc --fix",
|
|
"test": "jest"
|
|
}
|
|
} |