main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | {
|
---|
2 | "name": "@humanwhocodes/module-importer",
|
---|
3 | "version": "1.0.1",
|
---|
4 | "description": "Universal module importer for Node.js",
|
---|
5 | "main": "src/module-importer.cjs",
|
---|
6 | "module": "src/module-importer.js",
|
---|
7 | "type": "module",
|
---|
8 | "types": "dist/module-importer.d.ts",
|
---|
9 | "exports": {
|
---|
10 | "require": "./src/module-importer.cjs",
|
---|
11 | "import": "./src/module-importer.js"
|
---|
12 | },
|
---|
13 | "files": [
|
---|
14 | "dist",
|
---|
15 | "src"
|
---|
16 | ],
|
---|
17 | "publishConfig": {
|
---|
18 | "access": "public"
|
---|
19 | },
|
---|
20 | "gitHooks": {
|
---|
21 | "pre-commit": "lint-staged"
|
---|
22 | },
|
---|
23 | "lint-staged": {
|
---|
24 | "*.js": [
|
---|
25 | "eslint --fix"
|
---|
26 | ]
|
---|
27 | },
|
---|
28 | "funding": {
|
---|
29 | "type": "github",
|
---|
30 | "url": "https://github.com/sponsors/nzakas"
|
---|
31 | },
|
---|
32 | "scripts": {
|
---|
33 | "build": "rollup -c && tsc",
|
---|
34 | "prepare": "npm run build",
|
---|
35 | "lint": "eslint src/ tests/",
|
---|
36 | "test:unit": "c8 mocha tests/module-importer.test.js",
|
---|
37 | "test:build": "node tests/pkg.test.cjs && node tests/pkg.test.mjs",
|
---|
38 | "test": "npm run test:unit && npm run test:build"
|
---|
39 | },
|
---|
40 | "repository": {
|
---|
41 | "type": "git",
|
---|
42 | "url": "git+https://github.com/humanwhocodes/module-importer.git"
|
---|
43 | },
|
---|
44 | "keywords": [
|
---|
45 | "modules",
|
---|
46 | "esm",
|
---|
47 | "commonjs"
|
---|
48 | ],
|
---|
49 | "engines": {
|
---|
50 | "node": ">=12.22"
|
---|
51 | },
|
---|
52 | "author": "Nicholas C. Zaks",
|
---|
53 | "license": "Apache-2.0",
|
---|
54 | "devDependencies": {
|
---|
55 | "@types/node": "^18.7.6",
|
---|
56 | "c8": "7.12.0",
|
---|
57 | "chai": "4.3.6",
|
---|
58 | "eslint": "8.22.0",
|
---|
59 | "lint-staged": "13.0.3",
|
---|
60 | "mocha": "9.2.2",
|
---|
61 | "rollup": "2.78.0",
|
---|
62 | "typescript": "4.7.4",
|
---|
63 | "yorkie": "2.0.0"
|
---|
64 | }
|
---|
65 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.