UNPKG

@ethereum-sourcify/compilers

Version:

Wrapper around multiple compilers to download the right version and invoke the compilation with a common interface.

85 lines (84 loc) 2.18 kB
{ "name": "@ethereum-sourcify/compilers", "version": "1.0.1", "description": "Wrapper around multiple compilers to download the right version and invoke the compilation with a common interface.", "main": "build/main/index.js", "typings": "build/main/index.d.ts", "module": "build/module/index.js", "scripts": { "build": "run-p build:*", "build:main": "tsc -p tsconfig.json", "build:module": "tsc -p tsconfig.module.json", "fix": "run-s fix:*", "fix:prettier": "prettier \"./**/*.ts\" --write", "fix:lint": "eslint . --ext .ts --fix", "check": "run-s check:*", "check:eslint": "eslint . --ext .ts", "check:prettier": "prettier \"./**/*.ts\" --check", "test": "c8 --reporter=none mocha --exit test/**", "watch:build": "tsc -p tsconfig.json -w", "cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html", "cov:html": "c8 report --reporter=html", "cov:lcov": "c8 report --reporter=lcov", "cov:check": "c8 report && c8 check-coverage --lines 100 --functions 100 --branches 100" }, "engines": { "node": "22.5.1" }, "repository": { "type": "git", "url": "git+https://github.com/ethereum/sourcify.git" }, "keywords": [ "sourcify", "ethereum", "compiler", "compilers", "solidity", "solc", "vyper" ], "author": "", "license": "MIT", "bugs": { "url": "https://github.com/ethereum/sourcify/issues" }, "homepage": "https://github.com/ethereum/sourcify#readme", "dependencies": { "semver": "7.7.1", "solc": "0.8.29" }, "devDependencies": { "@ethereum-sourcify/compilers-types": "^1.0.1", "@types/chai": "4.3.20", "@types/mocha": "10.0.10", "@types/node": "22.14.0", "c8": "10.1.3", "chai": "4.5.0", "mocha": "10.8.2", "npm-run-all2": "5.0.2" }, "files": [ "build/main", "build/module", "!**/*.spec.*", "!**/*.json", "LICENSE", "README.md" ], "prettier": { "singleQuote": true }, "c8": { "exclude": [ "**/*.spec.js", "**/*.spec.ts" ], "reporter": [ "html", "lcov", "text", "text-summary" ] } }