-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.17 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "magic-comments-loader",
"version": "2.1.4",
"description": "Add webpack magic comments to your dynamic imports at build time.",
"main": "dist",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/cjs/index.cjs",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"engines": {
"node": ">=12.20.0"
},
"repository": {
"type": "git",
"url": "https://github.com/morganney/magic-comments-loader.git"
},
"bugs": {
"url": "https://github.com/morganney/magic-comments-loader/issues"
},
"scripts": {
"prepack": "npm run build",
"build": "babel-dual-package src --out-dir dist",
"lint": "eslint . src __tests__ --ext .js,.cjs",
"prettier": "prettier src __tests__ -w",
"test:unit": "node --experimental-vm-modules --no-warnings ./node_modules/.bin/jest",
"test:spec": "NODE_OPTIONS='--loader=babel-register-esm --no-warnings' BABEL_ENV=test jest -c jest.config.spec.js",
"test": "npm run test:unit && npm run test:spec"
},
"keywords": [
"webpack",
"magic comments",
"loader",
"dynamic import",
"webpackChunkName",
"build",
"config"
],
"author": "Morgan Ney <[email protected]>",
"license": "MIT",
"files": [
"dist"
],
"devDependencies": {
"@babel/cli": "^7.24.7",
"@babel/core": "^7.24.7",
"@babel/eslint-parser": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"babel-dual-package": "^1.1.3",
"babel-register-esm": "^1.2.4",
"eslint": "^8.42.0",
"eslint-plugin-jest": "^27.2.1",
"jest": "^29.7.0",
"jest-light-runner": "^0.6.0",
"memfs": "^4.6.0",
"prettier": "^3.2.4",
"webpack": "^5.87.0"
},
"dependencies": {
"acorn": "^8.9.0",
"acorn-jsx": "^5.3.2",
"acorn-jsx-walk": "^2.0.0",
"acorn-walk": "^8.2.0",
"magic-comments": "^2.1.12",
"magic-string": "^0.30.0",
"micromatch": "^4.0.7",
"schema-utils": "^4.2.0"
},
"prettier": {
"printWidth": 90,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"arrowParens": "avoid"
}
}