1 | {
|
2 | "name": "rapidbundle",
|
3 | "version": "0.19.0",
|
4 | "repository": "git@github.com:umidbekk/rapidbundle.git",
|
5 | "license": "MIT",
|
6 | "author": "Umidbek Karimov <4734297+umidbekk@users.noreply.github.com>",
|
7 | "type": "module",
|
8 | "bin": "./dist/cli.js",
|
9 | "files": [
|
10 | "dist"
|
11 | ],
|
12 | "scripts": {
|
13 | "build": "node ./src/cli.js",
|
14 | "checks": "npm run format -- --no-write && npx tsc && npm run lint && npm run test && npm run e2e",
|
15 | "pree2e": "npm run build",
|
16 | "e2e": "cross-env TEST_BUNDLE=true npm run jest",
|
17 | "format": "prettier . --write --check",
|
18 | "jest": "cross-env NODE_OPTIONS=\"--no-warnings --experimental-vm-modules\" jest",
|
19 | "lint": "eslint .",
|
20 | "prepare": "husky install",
|
21 | "release": "np --test-script checks",
|
22 | "tdd": "npm run jest -- --watch",
|
23 | "test": "c8 npm run jest --"
|
24 | },
|
25 | "lint-staged": {
|
26 | "*.js": "eslint --fix",
|
27 | "*.*": "prettier --write --ignore-unknown"
|
28 | },
|
29 | "eslintConfig": {
|
30 | "parserOptions": {
|
31 | "ecmaVersion": 2021
|
32 | },
|
33 | "extends": [
|
34 | "eslint:recommended",
|
35 | "plugin:node/recommended-module"
|
36 | ],
|
37 | "rules": {
|
38 | "node/file-extension-in-import": "error",
|
39 | "node/no-unsupported-features/es-syntax": [
|
40 | "error",
|
41 | {
|
42 | "ignores": [
|
43 | "modules",
|
44 | "dynamicImport"
|
45 | ]
|
46 | }
|
47 | ]
|
48 | },
|
49 | "overrides": [
|
50 | {
|
51 | "files": [
|
52 | "test/**",
|
53 | "*.spec.js"
|
54 | ],
|
55 | "env": {
|
56 | "jest": true
|
57 | },
|
58 | "rules": {
|
59 | "node/no-extraneous-require": "off"
|
60 | },
|
61 | "globals": {
|
62 | "runErrorTest": true,
|
63 | "runIntegrationTest": true
|
64 | }
|
65 | }
|
66 | ]
|
67 | },
|
68 | "eslintIgnore": [
|
69 | "dist",
|
70 | "examples",
|
71 | "src/cli.js"
|
72 | ],
|
73 | "jest": {
|
74 | "modulePathIgnorePatterns": [
|
75 | "/dist",
|
76 | "<rootDir>/scripts/",
|
77 | "<rootDir>/node_modules/"
|
78 | ],
|
79 | "resetMocks": true,
|
80 | "resetModules": true,
|
81 | "setupFilesAfterEnv": [
|
82 | "<rootDir>/test/setup.js"
|
83 | ],
|
84 | "testTimeout": 60000,
|
85 | "transform": {},
|
86 | "watchPlugins": [
|
87 | "jest-watch-typeahead/filename",
|
88 | "jest-watch-typeahead/testname"
|
89 | ]
|
90 | },
|
91 | "dependencies": {
|
92 | "browserslist": "^4.21.4",
|
93 | "enquirer": "^2.3.6",
|
94 | "esbuild": "^0.16.17",
|
95 | "js-yaml": "^4.1.0",
|
96 | "listr2": "^5.0.6",
|
97 | "rollup": "^3.10.0",
|
98 | "rollup-plugin-dts": "^5.1.1"
|
99 | },
|
100 | "devDependencies": {
|
101 | "@types/jest": "29.2.6",
|
102 | "@types/js-yaml": "4.0.5",
|
103 | "@types/semver": "7.3.13",
|
104 | "@umidbekk/configs": "0.2.0",
|
105 | "c8": "7.12.0",
|
106 | "cross-env": "7.0.3",
|
107 | "eslint": "8.31.0",
|
108 | "eslint-plugin-node": "11.1.0",
|
109 | "husky": "8.0.3",
|
110 | "jest": "29.3.1",
|
111 | "jest-watch-typeahead": "2.2.1",
|
112 | "lint-staged": "13.1.0",
|
113 | "lodash": "4.17.21",
|
114 | "np": "7.6.3",
|
115 | "prettier": "2.8.2",
|
116 | "prettier-plugin-jsdoc": "0.4.2",
|
117 | "prettier-plugin-organize-imports": "3.2.1",
|
118 | "prettier-plugin-packagejson": "2.3.0",
|
119 | "semver": "7.3.8",
|
120 | "strip-ansi": "7.0.1",
|
121 | "zod": "3.20.2"
|
122 | },
|
123 | "optionalDependencies": {
|
124 | "typescript": "^4.9.4"
|
125 | },
|
126 | "engines": {
|
127 | "node": ">=14.19",
|
128 | "npm": ">=8"
|
129 | },
|
130 | "volta": {
|
131 | "node": "14.19.1",
|
132 | "npm": "8.19.3"
|
133 | }
|
134 | }
|