1{ 2 "name": "cjs-module-lexer", 3 "version": "1.2.2", 4 "description": "Lexes CommonJS modules, returning their named exports metadata", 5 "main": "lexer.js", 6 "exports": { 7 "import": "./dist/lexer.mjs", 8 "default": "./lexer.js" 9 }, 10 "types": "lexer.d.ts", 11 "scripts": { 12 "test-js": "mocha -b -u tdd test/*.js", 13 "test-wasm": "WASM=1 mocha -b -u tdd test/*.js", 14 "test": "npm run test-wasm && npm run test-js", 15 "bench": "node --expose-gc bench/index.mjs", 16 "build": "node build.js && babel dist/lexer.mjs | terser -o dist/lexer.js", 17 "build-wasm": "make lib/lexer.wasm && node build.js", 18 "prepublishOnly": "make && npm run build", 19 "footprint": "npm run build && cat dist/lexer.js | gzip -9f | wc -c" 20 }, 21 "author": "Guy Bedford", 22 "license": "MIT", 23 "devDependencies": { 24 "@babel/cli": "^7.5.5", 25 "@babel/core": "^7.5.5", 26 "@babel/plugin-transform-modules-commonjs": "^7.5.0", 27 "kleur": "^2.0.2", 28 "mocha": "^5.2.0", 29 "terser": "^4.1.4" 30 }, 31 "files": [ 32 "dist", 33 "lexer.d.ts" 34 ], 35 "repository": { 36 "type": "git", 37 "url": "git+https://github.com/guybedford/cjs-module-lexer.git" 38 }, 39 "bugs": { 40 "url": "https://github.com/guybedford/cjs-module-lexer/issues" 41 }, 42 "homepage": "https://github.com/guybedford/cjs-module-lexer#readme" 43} 44