{
  "name": "assemblyscript",
  "description": "A TypeScript-like language for WebAssembly.",
  "keywords": [
    "typescript",
    "webassembly",
    "compiler",
    "assemblyscript",
    "wasm"
  ],
  "version": "0.0.0",
  "author": "Daniel Wirtz <dcode+assemblyscript@dcode.io>",
  "license": "Apache-2.0",
  "homepage": "https://assemblyscript.org",
  "repository": {
    "type": "git",
    "url": "https://github.com/AssemblyScript/assemblyscript.git"
  },
  "bugs": {
    "url": "https://github.com/AssemblyScript/assemblyscript/issues"
  },
  "engines": {
    "node": ">=20",
    "npm": ">=10"
  },
  "engineStrict": true,
  "dependencies": {
    "binaryen": "123.0.0-nightly.20250530",
    "long": "^5.2.4"
  },
  "devDependencies": {
    "@types/node": "^18.19.75",
    "@typescript-eslint/eslint-plugin": "^5.62.0",
    "@typescript-eslint/parser": "^5.62.0",
    "as-float": "^1.0.1",
    "diff": "^7.0.0",
    "esbuild": "^0.25.0",
    "eslint": "^8.57.1",
    "glob": "^10.4.5",
    "typescript": "^5.7.3"
  },
  "type": "module",
  "exports": {
    ".": {
      "import": "./dist/assemblyscript.js",
      "types": "./dist/assemblyscript.d.ts"
    },
    "./asc": {
      "import": "./dist/asc.js",
      "types": "./dist/asc.d.ts"
    },
    "./transform": {
      "import": "./dist/transform.js",
      "types": "./dist/transform.d.ts",
      "require": "./dist/transform.cjs"
    },
    "./binaryen": {
      "import": "./lib/binaryen.js",
      "types": "./lib/binaryen.d.ts"
    },
    "./*": "./*"
  },
  "imports": {
    "#rtrace": {
      "import": "./lib/rtrace/index.js",
      "types": "./lib/rtrace/index.d.ts"
    }
  },
  "bin": {
    "asc": "./bin/asc.js",
    "asinit": "./bin/asinit.js"
  },
  "scripts": {
    "check": "npm run check:config && npm run check:import && npm run lint",
    "check:config": "tsc --noEmit -p src --diagnostics --listFiles",
    "check:import": "tsc --noEmit --target ESNEXT --module nodenext --moduleResolution nodenext --experimentalDecorators tests/import/index",
    "lint": "eslint --max-warnings 0 --ext js . && eslint --max-warnings 0 --ext ts .",
    "build": "node scripts/build",
    "watch": "node scripts/build --watch",
    "coverage": "npx c8 -- npm test",
    "test": "npm run test:parser && npm run test:compiler -- --parallel && npm run test:browser && npm run test:asconfig && npm run test:transform && npm run test:cli",
    "test:parser": "node --enable-source-maps tests/parser",
    "test:compiler": "node --enable-source-maps --no-warnings tests/compiler",
    "test:browser": "node --enable-source-maps tests/browser",
    "test:asconfig": "cd tests/asconfig && npm run test",
    "test:transform": "npm run test:transform:esm && npm run test:transform:cjs",
    "test:transform:esm": "node bin/asc tests/compiler/empty --transform ./tests/transform/index.js --noEmit && node bin/asc tests/compiler/empty --transform ./tests/transform/simple.js --noEmit",
    "test:transform:cjs": "node bin/asc tests/compiler/empty --transform ./tests/transform/cjs/index.js --noEmit && node bin/asc tests/compiler/empty --transform ./tests/transform/cjs/simple.js --noEmit",
    "test:cli": "node tests/cli/options.js",
    "asbuild": "npm run asbuild:debug && npm run asbuild:release",
    "asbuild:debug": "node bin/asc --config src/asconfig.json --target debug",
    "asbuild:release": "node bin/asc --config src/asconfig.json --target release",
    "asbuild:rtraced": "node bin/asc --config src/asconfig.json --target rtraced",
    "bootstrap": "npm run bootstrap:debug && npm run bootstrap:release",
    "bootstrap:debug": "node bin/asc --config src/asconfig.json --target debug && node bin/asc --config src/asconfig.json --target debug-bootstrap --wasm ./build/assemblyscript.debug.js && node bin/asc --config src/asconfig.json --target debug-bootstrap --wasm ./build/assemblyscript.debug-bootstrap.js && git --no-pager diff --no-index build/assemblyscript.debug.wast build/assemblyscript.debug-bootstrap.wast",
    "bootstrap:release": "node bin/asc --config src/asconfig.json --target release && node bin/asc --config src/asconfig.json --target release-bootstrap --wasm ./build/assemblyscript.release.js && node bin/asc --config src/asconfig.json --target release-bootstrap --wasm ./build/assemblyscript.release-bootstrap.js && git --no-pager diff --no-index build/assemblyscript.release.wast build/assemblyscript.release-bootstrap.wast",
    "bootstrap:rtraced": "node bin/asc --config src/asconfig.json --target rtraced && node bin/asc --config src/asconfig.json --target rtraced --wasm ./build/assemblyscript.rtraced.js"
  },
  "files": [
    "bin/",
    "dist/",
    "std/",
    "util/",
    "lib/binaryen.js",
    "lib/binaryen.d.ts",
    "tsconfig-base.json",
    "NOTICE"
  ],
  "funding": {
    "type": "opencollective",
    "url": "https://opencollective.com/assemblyscript"
  }
}
