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",
|
2023-12-04 02:05:31 +02:00
|
|
|
"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
|
|
|
},
|
2023-12-04 02:05:31 +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
|
|
|
"prebuild": "rimraf dist",
|
|
|
|
"prebuild:test": "npm run prebuild",
|
|
|
|
"prebuild:test:browser": "npm run prebuild:test",
|
|
|
|
"test": "node dist/test",
|
|
|
|
"test:browser": "browserify dist/test/index.js | tape-run --sandbox=false",
|
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",
|
2023-11-24 01:41:29 +02:00
|
|
|
"bundle": "browserify dist/cjs/lib.js -g uglifyify -s Twing -o dist/lib.min.js"
|
2018-01-03 20:51:46 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-01-17 02:08:36 +02:00
|
|
|
"capitalize": "^1.0.0",
|
2023-11-20 17:37:51 +02:00
|
|
|
"create-hash": "^1.2.0",
|
2018-03-16 02:43:09 +02:00
|
|
|
"esrever": "^0.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-03-20 17:34:30 +02:00
|
|
|
"is-plain-object": "^2.0.4",
|
2018-03-24 22:26:54 +02:00
|
|
|
"isobject": "^3.0.1",
|
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",
|
2018-01-17 02:08:36 +02:00
|
|
|
"pad": "^2.0.3",
|
|
|
|
"regex-parser": "^2.2.8",
|
2018-03-16 02:43:09 +02:00
|
|
|
"runes": "^0.4.3",
|
2018-01-17 02:08:36 +02:00
|
|
|
"snake-case": "^2.1.0",
|
2018-06-03 21:05:15 +03:00
|
|
|
"source-map": "^0.6.1",
|
2023-12-03 16:02:21 +02:00
|
|
|
"twig-lexer": "^0.9.0",
|
2019-10-17 11:32:02 +03:00
|
|
|
"utf8-binary-cutter": "^0.9.2"
|
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",
|
2023-11-06 10:38:03 +02:00
|
|
|
"@types/node": "^10.17.60",
|
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",
|
2023-11-27 18:20:17 +02:00
|
|
|
"browserify": "^17.0.0",
|
|
|
|
"common-shakeify": "^1.1.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",
|
2023-04-10 11:28:17 +03:00
|
|
|
"tape": "^5.6.1",
|
2023-11-17 18:52:44 +02:00
|
|
|
"tape-run": "^11.0.0",
|
2023-10-30 23:37:51 +02:00
|
|
|
"typescript": "^5.2.2",
|
2018-09-29 18:53:24 +03:00
|
|
|
"uglifyify": "^5.0.1"
|
2018-01-03 20:51:46 +02:00
|
|
|
}
|
|
|
|
}
|