@lukso/lsp-smart-contracts
Version:
The reference smart contract implementation for the LUKSO LSP standards
136 lines (135 loc) • 5.51 kB
JSON
{
"name": "@lukso/lsp-smart-contracts",
"version": "0.17.3",
"description": "The reference smart contract implementation for the LUKSO LSP standards",
"license": "Apache-2.0",
"author": "",
"repository": {
"type": "git",
"url": "https://github.com/lukso-network/lsp-smart-contracts.git",
"directory": "packages/lsp-smart-contracts"
},
"type": "module",
"keywords": [
"LUKSO",
"LSP",
"Blockchain",
"Standards",
"Smart Contracts",
"Ethereum",
"EVM",
"Solidity"
],
"directories": {
"test": "tests"
},
"files": [
"contracts/**/*.sol",
"!contracts/Mocks/**/*.sol",
"artifacts/*.json",
"dist",
"./README.md"
],
"main": "./dist/constants.cjs",
"module": "./dist/constants.mjs",
"typings": "./dist/constants.d.ts",
"exports": {
".": {
"types": "./dist/constants.d.ts",
"require": "./dist/constants.cjs",
"import": "./dist/constants.mjs"
},
"./constants.js": {
"types": "./dist/constants.d.ts",
"require": "./dist/constants.cjs",
"import": "./dist/constants.mjs"
},
"./constants": {
"types": "./dist/constants.d.ts",
"require": "./dist/constants.cjs",
"import": "./dist/constants.mjs"
},
"./abi": {
"types": "./dist/abi.d.ts",
"require": "./dist/abi.cjs",
"import": "./dist/abi.mjs"
},
"./artifacts/*": "./artifacts/*",
"./dist/*": "./dist/*",
"./package.json": "./package.json",
"./contracts/*": "./contracts/*"
},
"scripts": {
"build": "hardhat compile --show-stack-traces",
"build:foundry": "forge build",
"build:js": "unbuild",
"build:types": "wagmi generate",
"build:docs": "hardhat dodoc && prettier -w ./docs && bash dodoc/postProcessingContracts.sh && dodoc/postProcessingLibraries.sh",
"clean": "rm -Rf dist/ cache/ node_modules/ .turbo/ types/ build/ artifacts/ abi.ts",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.js",
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
"build:package": "bash scripts/collect-artifacts.sh",
"test": "hardhat test --no-compile tests/**/*.test.ts tests/LSP7DigitalAsset/**/*.ts tests/LSP8IdentifiableDigitalAsset/**/*.ts",
"test:foundry": "FOUNDRY_PROFILE=lsp_smart_contracts forge test -vvvv",
"test:coverage": "hardhat coverage",
"test:benchmark": "hardhat test --no-compile tests/Benchmark.test.ts",
"test:mocks": "hardhat test --no-compile tests/Mocks/*.test.ts",
"test:up": "hardhat test --no-compile tests/UniversalProfile.test.ts",
"test:upinit": "hardhat test --no-compile tests/UniversalProfileInit.test.ts",
"test:lsp1": "hardhat test --no-compile tests/LSP1UniversalReceiver/*.test.ts",
"test:lsp6": "hardhat test --no-compile tests/LSP6KeyManager/LSP6KeyManager.test.ts",
"test:lsp6init": "hardhat test --no-compile tests/LSP6KeyManager/LSP6KeyManagerInit.test.ts",
"test:lsp7": "hardhat test --no-compile tests/LSP7DigitalAsset/standard/*.test.ts",
"test:lsp7init": "hardhat test --no-compile tests/LSP7DigitalAsset/proxy/*.test.ts",
"test:lsp8": "hardhat test --no-compile tests/LSP8IdentifiableDigitalAsset/standard/*.test.ts",
"test:lsp8init": "hardhat test --no-compile tests/LSP8IdentifiableDigitalAsset/proxy/*.test.ts",
"test:lsp9": "hardhat test --no-compile tests/LSP9Vault/LSP9Vault.test.ts",
"test:lsp9init": "hardhat test --no-compile tests/LSP9Vault/LSP9VaultInit.test.ts",
"test:lsp17": "hardhat test --no-compile tests/LSP17ContractExtension/LSP17Extendable.test.ts",
"test:lsp17extensions": "hardhat test --no-compile tests/LSP17Extensions/**/*.test.ts",
"test:lsp20": "hardhat test --no-compile tests/LSP20CallVerification/LSP6/LSP20WithLSP6.test.ts",
"test:lsp20init": "hardhat test --no-compile tests/LSP20CallVerification/LSP6/LSP20WithLSP6Init.test.ts",
"test:reentrancy": "hardhat test --no-compile tests/Reentrancy/Reentrancy.test.ts",
"test:reentrancyinit": "hardhat test --no-compile tests/Reentrancy/ReentrancyInit.test.ts"
},
"dependencies": {
"@lukso/lsp0-contracts": "~0.16.0",
"@lukso/lsp1-contracts": "~0.16.0",
"@lukso/lsp10-contracts": "~0.16.0",
"@lukso/lsp11-contracts": "~0.2.0",
"@lukso/lsp12-contracts": "~0.16.0",
"@lukso/lsp14-contracts": "~0.16.0",
"@lukso/lsp16-contracts": "~0.16.0",
"@lukso/lsp17-contracts": "~0.17.0",
"@lukso/lsp17contractextension-contracts": "~0.17.0",
"@lukso/lsp1delegate-contracts": "~0.16.0",
"@lukso/lsp2-contracts": "~0.16.0",
"@lukso/lsp20-contracts": "~0.16.0",
"@lukso/lsp23-contracts": "~0.16.0",
"@lukso/lsp25-contracts": "~0.16.0",
"@lukso/lsp26-contracts": "~0.2.0",
"@lukso/lsp3-contracts": "~0.17.0",
"@lukso/lsp4-contracts": "~0.17.0",
"@lukso/lsp5-contracts": "~0.16.0",
"@lukso/lsp6-contracts": "~0.16.0",
"@lukso/lsp7-contracts": "~0.17.0",
"@lukso/lsp8-contracts": "~0.17.0",
"@lukso/lsp9-contracts": "~0.16.0",
"@lukso/universalprofile-contracts": "~0.16.0"
},
"resolutions": {
"solidity-bytes-utils": "0.8.4"
},
"devDependencies": {
"@erc725/erc725.js": "0.28.2",
"@lukso/eip191-signer.js": "^0.2.5",
"@nomicfoundation/hardhat-toolbox-mocha-ethers": "^3.0.0",
"@types/mocha": "^10.0.10",
"eslint-config-custom": "*",
"hardhat": "^3.1.2",
"markdown-table-ts": "^1.0.3",
"dotenv": "^17.2.3",
"pluralize": "^8.0.0"
}
}