twing/package.json

71 lines
2.2 KiB
JSON
Raw Normal View History

2018-01-03 20:51:46 +02:00
{
"name": "twing",
2018-02-22 10:57:49 +02:00
"description": "First-class Twig engine for Node.js",
2023-11-17 18:52:44 +02:00
"author": "Eric MORAND <eric.morand@gmail.com>",
2018-02-22 10:57:49 +02:00
"keywords": [
2018-09-29 18:53:24 +03:00
"browser",
2018-02-22 10:57:49 +02:00
"compiler",
"template",
"twig",
"twig-engine",
"typescript"
],
2023-11-17 18:52:44 +02:00
"version": "0.0.0",
"homepage": "https://twing.nightlycommit.com",
2018-08-26 23:27:52 +03:00
"license": "BSD-2-Clause",
2018-01-03 20:51:46 +02:00
"repository": {
"type": "git",
2022-03-22 13:00:59 +02:00
"url": "https://gitlab.com/nightlycommit/twing"
2018-01-03 20:51:46 +02:00
},
"bugs": "https://gitlab.com/nightlycommit/twing/-/issues",
2023-11-24 01:41:29 +02:00
"main": "dist/cjs/lib.js",
"types": "dist/types/lib.d.ts",
2023-11-20 17:37:51 +02:00
"jsdelivr": "dist/lib.min.js",
2023-11-17 18:52:44 +02:00
"files": [
"dist"
],
2018-01-03 20:51:46 +02:00
"engines": {
2018-03-31 15:27:27 +03:00
"node": ">=6.0.0"
2018-01-03 20:51:46 +02:00
},
"scripts": {
2023-11-17 18:52:44 +02:00
"test": "node dist/test",
2023-11-24 03:01:33 +02:00
"build": "npm run build:cjs && npm run build:types && npm run bundle",
2024-04-16 10:33:14 +03:00
"build:cjs": "rimraf dist/cjs && tsc --project src/main --module commonjs --outDir dist/cjs",
"build:test": "rimraf dist && tsc --project src/test --outDir dist",
"build:types": "rimraf dist/types && tsc --project src/main --declaration true --emitDeclarationOnly true --outDir dist/types",
2024-12-31 16:04:41 +02:00
"bundle": "esbuild src/main/lib.ts --bundle --minify --metafile=dist/meta.json --format=esm --outfile=dist/lib.min.js",
2024-12-31 14:58:13 +02:00
"bundle:types": "npx dts-bundle-generator --external-inlines source-map --external-inlines twig-lexer -o dist/lib.min.d.ts src/main/lib.ts"
2018-01-03 20:51:46 +02:00
},
"dependencies": {
"capitalize": "^1.0.0",
2023-11-20 17:37:51 +02:00
"create-hash": "^1.2.0",
2018-01-03 20:51:46 +02:00
"htmlspecialchars": "^1.0.5",
2024-03-12 17:38:45 +02:00
"iconv-lite": "^0.6.3",
2018-01-03 20:51:46 +02:00
"levenshtein": "^1.0.5",
2024-04-15 18:35:05 +03:00
"locutus": "^2.0.31",
2019-09-25 18:07:39 +03:00
"luxon": "^1.19.3",
2024-12-31 16:04:26 +02:00
"path-browserify": "^1.0.1",
"readable-stream": "^4.6.0",
"regex-parser": "^2.2.8",
2018-03-16 02:43:09 +02:00
"runes": "^0.4.3",
2018-06-03 21:05:15 +03:00
"source-map": "^0.6.1",
2024-12-28 16:03:41 +02:00
"twig-lexer": "^0.9.0"
2018-01-03 20:51:46 +02:00
},
"devDependencies": {
2023-11-20 17:37:51 +02:00
"@types/create-hash": "^1.2.5",
2023-11-27 18:20:17 +02:00
"@types/locutus": "^0.0.8",
2023-04-10 11:39:53 +03:00
"@types/luxon": "^1.4.0",
"@types/node": "^20.17.10",
2024-12-31 16:04:26 +02:00
"@types/path-browserify": "^1.0.3",
"@types/readable-stream": "^4.0.18",
2023-11-27 13:49:09 +02:00
"@types/sinon": "^17.0.2",
2019-10-04 11:39:53 +03:00
"@types/tape": "^4.2.33",
2024-12-31 14:58:13 +02:00
"dts-bundle-generator": "^9.5.1",
"esbuild": "^0.24.2",
2018-08-26 18:29:44 +03:00
"rimraf": "^2.6.2",
2023-11-27 13:49:09 +02:00
"sinon": "^17.0.1",
"tape": "^5.9.0",
"typescript": "^5.2.2"
2018-01-03 20:51:46 +02:00
}
}