97 lines
3.7 KiB
JSON
97 lines
3.7 KiB
JSON
{
|
|
"name": "@0xproject/sol-cov",
|
|
"version": "0.1.1",
|
|
"engines": {
|
|
"node": ">=6.12"
|
|
},
|
|
"description": "Generate coverage reports for Solidity code",
|
|
"main": "lib/src/index.js",
|
|
"types": "lib/src/index.d.ts",
|
|
"scripts": {
|
|
"watch_without_deps": "yarn pre_build && tsc -w",
|
|
"build": "yarn pre_build && tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
|
|
"pre_build": "run-s copy_test_fixtures",
|
|
"lint": "tslint --project .",
|
|
"test": "run-s compile_test run_mocha",
|
|
"rebuild_and_test": "run-s clean build test",
|
|
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
|
|
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
|
|
"test:circleci": "yarn test:coverage",
|
|
"run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --exit",
|
|
"clean": "shx rm -rf lib scripts test/fixtures/artifacts src/artifacts",
|
|
"copy_test_fixtures": "copyfiles 'test/fixtures/**/*' ./lib",
|
|
"compile_test": "sol-compiler compile",
|
|
"manual:postpublish": "yarn build; node ./scripts/postpublish.js",
|
|
"docs:stage": "node scripts/stage_docs.js",
|
|
"docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES",
|
|
"upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json"
|
|
},
|
|
"config": {
|
|
"postpublish": {
|
|
"assets": [],
|
|
"docPublishConfigs": {
|
|
"extraFileIncludes": [
|
|
"../subproviders/src/types.ts",
|
|
"../types/src/index.ts",
|
|
"../ethereum-types/src/index.ts"
|
|
],
|
|
"s3BucketPath": "s3://doc-jsons/sol-cov/",
|
|
"s3StagingBucketPath": "s3://staging-doc-jsons/sol-cov/"
|
|
}
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/0xProject/0x.js.git"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/0xProject/0x.js/issues"
|
|
},
|
|
"homepage": "https://github.com/0xProject/0x.js/packages/sol-cov/README.md",
|
|
"dependencies": {
|
|
"@0xproject/sol-compiler": "^0.5.2",
|
|
"@0xproject/subproviders": "^0.10.4",
|
|
"@0xproject/typescript-typings": "^0.4.1",
|
|
"@0xproject/utils": "^0.7.1",
|
|
"@0xproject/web3-wrapper": "^0.7.1",
|
|
"@0xproject/dev-utils": "^0.4.4",
|
|
"ethereum-types": "^0.0.1",
|
|
"ethereumjs-util": "^5.1.1",
|
|
"glob": "^7.1.2",
|
|
"istanbul": "^0.4.5",
|
|
"lodash": "^4.17.4",
|
|
"loglevel": "^1.6.1",
|
|
"mkdirp": "^0.5.1",
|
|
"rimraf": "^2.6.2",
|
|
"semaphore-async-await": "^1.5.1",
|
|
"solidity-parser-antlr": "^0.2.12"
|
|
},
|
|
"devDependencies": {
|
|
"@0xproject/monorepo-scripts": "^0.2.1",
|
|
"@0xproject/tslint-config": "^0.4.20",
|
|
"@types/istanbul": "^0.4.30",
|
|
"@types/loglevel": "^1.5.3",
|
|
"@types/mkdirp": "^0.5.1",
|
|
"@types/solidity-parser-antlr": "^0.2.1",
|
|
"@types/mocha": "^2.2.42",
|
|
"@types/node": "^8.0.53",
|
|
"@types/rimraf": "^2.0.2",
|
|
"chai": "^4.0.1",
|
|
"copyfiles": "^1.2.0",
|
|
"dirty-chai": "^2.0.1",
|
|
"make-promises-safe": "^1.1.0",
|
|
"mocha": "^4.0.1",
|
|
"npm-run-all": "^4.1.2",
|
|
"nyc": "^11.0.1",
|
|
"shx": "^0.2.2",
|
|
"sinon": "^4.0.0",
|
|
"tslint": "5.8.0",
|
|
"typedoc": "0xProject/typedoc",
|
|
"typescript": "2.7.1"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|