Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | {
|
---|
2 | "name": "es-module-lexer",
|
---|
3 | "version": "0.7.1",
|
---|
4 | "description": "Lexes ES modules returning their import/export metadata",
|
---|
5 | "main": "dist/lexer.cjs",
|
---|
6 | "module": "dist/lexer.js",
|
---|
7 | "types": "types/lexer.d.ts",
|
---|
8 | "exports": {
|
---|
9 | "module": "./dist/lexer.js",
|
---|
10 | "import": "./dist/lexer.js",
|
---|
11 | "require": "./dist/lexer.cjs"
|
---|
12 | },
|
---|
13 | "scripts": {
|
---|
14 | "test": "NODE_OPTIONS=\"--experimental-modules\" mocha -b -u tdd test/*.cjs",
|
---|
15 | "build": "node --experimental-modules build.js && babel dist/lexer.js | terser -o dist/lexer.cjs",
|
---|
16 | "build-wasm": "make lib/lexer.wasm && node build.js",
|
---|
17 | "bench": "node --experimental-modules --expose-gc bench/index.js",
|
---|
18 | "prepublishOnly": "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 | "types"
|
---|
34 | ],
|
---|
35 | "type": "module",
|
---|
36 | "repository": {
|
---|
37 | "type": "git",
|
---|
38 | "url": "git+https://github.com/guybedford/es-module-lexer.git"
|
---|
39 | },
|
---|
40 | "bugs": {
|
---|
41 | "url": "https://github.com/guybedford/es-module-lexer/issues"
|
---|
42 | },
|
---|
43 | "homepage": "https://github.com/guybedford/es-module-lexer#readme"
|
---|
44 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.