-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.8 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "lib-tools",
"version": "3.0.0-dev.0",
"description": "The lib-tools helps you simplify the build, bundle and npm packaging workflows for Typescript, JavaScript, SCSS, CSS and assets module library projects.",
"author": "DagonMetric",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/dagonmetric/lib-tools.git"
},
"bugs": {
"url": "https://github.com/dagonmetric/lib-tools/issues"
},
"homepage": "https://github.com/dagonmetric/lib-tools",
"keywords": [
"lib-tools",
"library-tools",
"npm-packaging-tools",
"library-packaging-tools",
"typescript-library-packaging",
"javascript-library-packaging",
"style-module",
"assets-module",
"typescript",
"sass",
"scss",
"postcss",
"autoprefixer",
"webpack",
"rollup"
],
"bin": {
"lib": "./src/bin/lib.mts"
},
"type": "module",
"engines": {
"node": ">=16.14.0 || >=18.10.0"
},
"exports": {
".": {
"import": "./src/public-api.mts",
"default": "./src/public-api.mts"
},
"./cli": {
"default": "./src/cli/index.mts"
},
"./package.json": {
"default": "./package.json"
}
},
"scripts": {
"lint": "eslint .",
"tsc:compile": "tsc --project tsconfig.build.json",
"esbuild:bundle": "esbuild src/public-api.mts src/cli/index.mts --bundle --tsconfig=tsconfig.build.json --format=esm --platform=node --target=esnext,node18.16 --packages=external --sourcemap --loader:.json=copy --asset-names=schemas/[name] --outdir=dist --outbase=src --out-extension:.js=.mjs",
"generate-json-schema": "node ./tools/generate-json-schema.mjs",
"build": "npm run tsc:compile && npm run generate-json-schema",
"test": "glob -c \"node --no-warnings --loader ts-node/esm --test\" \"tests/utils-*test.mts\"",
"lib:version": "node --no-warnings --enable-source-maps --loader ts-node/esm ./src/bin/lib.mts --version",
"lib:help": "node --no-warnings --enable-source-maps --loader ts-node/esm ./src/bin/lib.mts --help",
"lib:lint": "node --no-warnings --enable-source-maps --loader ts-node/esm ./src/bin/lib.mts lint",
"lib:test": "node --no-warnings --enable-source-maps --loader ts-node/esm ./src/bin/lib.mts test",
"lib:build": "node --no-warnings --enable-source-maps --loader ts-node/esm ./src/bin/lib.mts build --logLevel=debug",
"lib:generate-json-schema": "node --no-warnings --enable-source-maps --loader ts-node/esm ./src/bin/lib.mts run generate-json-schema --logLevel=debug"
},
"dependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.4",
"@rollup/plugin-typescript": "^11.1.5",
"ajv": "^8.12.0",
"css-loader": "^6.8.1",
"css-minimizer-webpack-plugin": "^5.0.1",
"esbuild": "^0.19.5",
"glob": "^10.3.10",
"less-loader": "^11.1.3",
"mini-css-extract-plugin": "^2.7.6",
"postcss": "^8.4.31",
"postcss-loader": "^7.3.3",
"postcss-preset-env": "^9.2.0",
"resolve-url-loader": "^5.0.0",
"rollup": "^4.1.4",
"rollup-plugin-typescript2": "^0.36.0",
"sass": "^1.69.4",
"sass-loader": "^13.3.2",
"ts-loader": "^9.5.0",
"tslib": "^2.6.2",
"typescript": "5.2.2",
"webpack": "^5.89.0",
"yargs": "^17.7.2"
},
"devDependencies": {
"@types/node": "^20.8.7",
"@types/yargs": "^17.0.29",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.1",
"prettier": "^3.0.3",
"ts-json-schema-generator": "^1.4.0",
"ts-node": "^10.9.1"
}
}