js-slang
Version:
Javascript-based implementations of Source, written in Typescript
135 lines (134 loc) • 3.68 kB
JSON
{
"name": "js-slang",
"version": "1.0.75",
"license": "Apache-2.0",
"description": "Javascript-based implementations of Source, written in Typescript",
"keywords": [
"JavaScript",
"interpreter",
"compiler",
"Source",
"SICP"
],
"author": {
"name": "Source Academy",
"url": "https://github.com/source-academy/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/source-academy/js-slang.git"
},
"bugs": {
"url": "https://github.com/source-academy/js-slang/issues"
},
"homepage": "https://github.com/source-academy/js-slang",
"main": "dist/index",
"types": "dist/index",
"files": [
"dist"
],
"bin": {
"js-slang": "dist/repl/index.js"
},
"dependencies": {
"@babel/parser": "^7.19.4",
"@commander-js/extra-typings": "^12.0.1",
"@joeychenofficial/alt-ergo-modified": "^2.4.0",
"@ts-morph/bootstrap": "^0.18.0",
"@types/estree": "^1.0.5",
"acorn": "^8.8.2",
"acorn-class-fields": "^1.0.0",
"acorn-loose": "^8.0.0",
"acorn-walk": "^8.0.0",
"astring": "^1.4.3",
"commander": "^12.0.0",
"gpu.js": "^2.16.0",
"js-base64": "^3.7.5",
"lodash": "^4.17.21",
"source-map": "0.7.3"
},
"resolutions": {
"**/gl": "^6.0.2"
},
"scripts": {
"build": "yarn docs && yarn build:slang",
"build:slang": "tsc --project tsconfig.prod.json",
"eslint": "eslint --ext \".ts,.tsx\" src",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"format:ci": "prettier --list-different \"src/**/*.{ts,tsx}\"",
"test": "jest",
"test-coverage": "jest --coverage",
"docs": "yarn jsdoc && yarn autocomplete",
"jsdoc": "./scripts/jsdoc.sh",
"autocomplete": "node ./scripts/updateAutocompleteDocs.js",
"build_sicp_package": "./scripts/build_sicp_package.sh",
"publish_sicp_package": "./scripts/publish_sicp_package.sh",
"benchmark": "jest --runInBand --testPathPattern='.*benchmark.*' --testPathIgnorePatterns='/dist/'",
"prepare": "husky install"
},
"devDependencies": {
"@babel/preset-env": "^7.23.2",
"@types/jest": "^29.0.0",
"@types/lodash": "^4.14.202",
"@types/node": "^20.0.0",
"@types/offscreencanvas": "^2019.7.0",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"ace-builds": "^1.4.12",
"coveralls": "^3.1.0",
"escodegen": "^2.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"husky": "^8.0.1",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.0.0",
"jest-html-reporter": "^3.2.0",
"jsdoc": "3.6.11",
"jsdom": "^19.0.0",
"prettier": "^2.1.2",
"ts-jest": "^29.0.0",
"typescript": "^4.0.3"
},
"jest": {
"snapshotFormat": {
"escapeString": true,
"printBasicPrototype": true
},
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"\\.ts$": "ts-jest",
"\\.js$": "babel-jest"
},
"testEnvironment": "jsdom",
"testRegex": "/__tests__/.*\\.ts$",
"testPathIgnorePatterns": [
"/dist/",
"/src/alt-langs/scheme/scm-slang",
".*benchmark.*",
"/__tests__/(.*/)?utils\\.ts"
],
"coveragePathIgnorePatterns": [
"/dist/",
"/node_modules/",
"/src/typings/",
"/src/utils/testing.ts",
"/src/alt-langs/scheme/scm-slang",
"/src/py-slang/"
],
"reporters": [
"default",
[
"./node_modules/jest-html-reporter",
{
"pageTitle": "Test Report",
"includeFailureMsg": true,
"includeConsoleLog": true
}
]
]
}
}