|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
1.5 KB
|
| Rev | Line | |
|---|
| [9af201e] | 1 | {
|
|---|
| 2 | "name": "cjs-module-lexer",
|
|---|
| 3 | "version": "1.4.3",
|
|---|
| 4 | "description": "Lexes CommonJS modules, returning their named exports metadata",
|
|---|
| 5 | "main": "lexer.js",
|
|---|
| 6 | "exports": {
|
|---|
| 7 | "import": {
|
|---|
| 8 | "types": "./lexer.d.mts",
|
|---|
| 9 | "default": "./dist/lexer.mjs"
|
|---|
| 10 | },
|
|---|
| 11 | "default": "./lexer.js"
|
|---|
| 12 | },
|
|---|
| 13 | "types": "lexer.d.ts",
|
|---|
| 14 | "scripts": {
|
|---|
| 15 | "test-js": "mocha -b -u tdd test/*.js",
|
|---|
| 16 | "test-wasm": "cross-env WASM=1 mocha -b -u tdd test/*.js",
|
|---|
| 17 | "test-wasm-sync": "cross-env WASM_SYNC=1 mocha -b -u tdd test/*.js",
|
|---|
| 18 | "test": "npm run test-wasm ; npm run test-wasm-sync ; npm run test-js",
|
|---|
| 19 | "bench": "node --expose-gc bench/index.mjs",
|
|---|
| 20 | "build": "node build.js ; babel dist/lexer.mjs -o dist/lexer.js ; terser dist/lexer.js -o dist/lexer.js",
|
|---|
| 21 | "build-wasm": "make lib/lexer.wasm ; node build.js",
|
|---|
| 22 | "prepublishOnly": "make && npm run build",
|
|---|
| 23 | "footprint": "npm run build && cat dist/lexer.js | gzip -9f | wc -c"
|
|---|
| 24 | },
|
|---|
| 25 | "author": "Guy Bedford",
|
|---|
| 26 | "license": "MIT",
|
|---|
| 27 | "devDependencies": {
|
|---|
| 28 | "@babel/cli": "^7.5.5",
|
|---|
| 29 | "@babel/core": "^7.5.5",
|
|---|
| 30 | "@babel/plugin-transform-modules-commonjs": "^7.5.0",
|
|---|
| 31 | "cross-env": "^7.0.3",
|
|---|
| 32 | "kleur": "^2.0.2",
|
|---|
| 33 | "mocha": "^9.1.3",
|
|---|
| 34 | "terser": "^4.1.4"
|
|---|
| 35 | },
|
|---|
| 36 | "files": [
|
|---|
| 37 | "dist",
|
|---|
| 38 | "lexer.d.ts"
|
|---|
| 39 | ],
|
|---|
| 40 | "repository": {
|
|---|
| 41 | "type": "git",
|
|---|
| 42 | "url": "git+https://github.com/nodejs/cjs-module-lexer.git"
|
|---|
| 43 | },
|
|---|
| 44 | "bugs": {
|
|---|
| 45 | "url": "https://github.com/nodejs/cjs-module-lexer/issues"
|
|---|
| 46 | },
|
|---|
| 47 | "homepage": "https://github.com/nodejs/cjs-module-lexer#readme"
|
|---|
| 48 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.