UNPKG

@stencila/jesta

Version:

Stencila plugin for executable documents using JavaScript

193 lines (192 loc) 4.97 kB
{ "name": "@stencila/jesta", "version": "1.10.5", "description": "Stencila plugin for executable documents using JavaScript", "bin": "dist/index.js", "main": "dist/index.js", "scripts": { "format": "prettier --write 'src/**/*.{js,ts}'", "lint": "eslint --fix 'src/**/*.ts'", "test": "jest", "test:watch": "npm run test -- --watchAll", "test:cover": "npm run test -- --collectCoverage", "start": "ts-node src", "$comment": "The build script builds everything required to publish a release, including binaries and docs", "build": "npm run build:codemeta && npm run build:dist && npm run build:bin && npm run build:docs", "build:codemeta": "ts-node src manifest > codemeta.json", "build:dist": "tsc -p tsconfig.prod.json", "build:bin": "bash build.sh", "build:docs": "typedoc src/index.ts", "prepublishOnly": "npm run build" }, "repository": { "type": "git", "url": "https://github.com/stencila/jesta" }, "homepage": "https://github.com/stencila/jesta#readme", "keywords": [ "Stencila", "plugin", "executable", "documents" ], "author": "Stencila <hello@stenci.la>", "license": "Apache-2.0", "dependencies": { "@stencila/logga": "^4.0.0", "acorn": "^8.4.0", "acorn-walk": "^8.1.0", "ajv": "^8.6.0", "ajv-formats": "^2.1.0", "content-type": "^1.0.4", "got": "^11.8.2", "keyv": "^4.0.3", "mime": "^2.5.2", "minimist": "^1.2.5", "parse-author": "^2.0.0", "parse-full-name": "^1.2.5" }, "peerDependencies": { "@stencila/schema": "^1.9.0" }, "devDependencies": { "@semantic-release/exec": "5.0.0", "@stencila/dev-config": "2.0.15", "@types/content-type": "1.1.3", "@types/estree": "0.0.48", "@types/jest": "26.0.23", "@types/mime": "2.0.3", "@types/parse-author": "2.0.0", "@types/parse-full-name": "1.2.0", "jest": "27.0.4", "json-schema": "0.3.0", "mock-stdin": "1.0.0", "nock": "13.1.0", "pkg": "5.2.1", "tempy": "1.0.1", "ts-jest": "27.0.3", "ts-node": "10.0.0", "typedoc": "0.21.0", "typescript": "4.3.4" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "testMatch": [ "**/*.test.ts" ], "coveragePathIgnorePatterns": [ "tests/helpers.ts" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ], "rules": { "scope-case": [ 2, "always", "sentence-case" ], "subject-case": [ 2, "always", "sentence-case" ] } }, "eslintConfig": { "extends": "@stencila/eslint-config" }, "husky": { "hooks": { "pre-commit": "pretty-quick --staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "prettier": "@stencila/dev-config/prettier-config.json", "renovate": { "extends": [ "@stencila" ], "packageRules": [ { "matchDepTypes": [ "dependencies" ], "rangeStrategy": "bump", "semanticCommitType": "fix", "semanticCommitScope": "Dependencies", "automerge": false }, { "groupName": "Dev dependencies", "groupSlug": "dev", "matchDepTypes": [ "devDependencies" ], "rangeStrategy": "pin", "semanticCommitType": "chore", "semanticCommitScope": "Dev dependencies", "automerge": true } ] }, "pkg": { "targets": [ "node16-linux-x64", "node16-macos-x64", "node16-win-x64" ] }, "release": { "extends": "@stencila/semantic-release-config", "branches": [ "main" ], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/changelog", [ "@semantic-release/exec", { "prepareCmd": "sed -i -e \"s!softwareVersion: .*!softwareVersion: '${nextRelease.version}',!\" src/index.ts" } ], "@semantic-release/npm", [ "@semantic-release/git", { "assets": [ "CHANGELOG.md", "package.json", "package-lock.json", "codemeta.json" ] } ], [ "@semantic-release/github", { "assets": [ { "path": "bin/x86_64-unknown-linux-gnu.tar.gz", "name": "jesta-v${nextRelease.version}-x86_64-unknown-linux-gnu.tar.gz" }, { "path": "bin/x86_64-apple-darwin.tar.gz", "name": "jesta-v${nextRelease.version}-x86_64-apple-darwin.tar.gz" }, { "path": "bin/x86_64-pc-windows-msvc.zip", "name": "jesta-v${nextRelease.version}-x86_64-pc-windows-msvc.zip" } ] } ], "@qiwi/semantic-release-gh-pages-plugin" ] } }