162 lines
4.5 KiB
JSON
162 lines
4.5 KiB
JSON
{
|
|
"name": "liquidjs",
|
|
"version": "10.14.0",
|
|
"description": "A simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.",
|
|
"main": "dist/liquid.node.cjs.js",
|
|
"module": "dist/liquid.node.esm.js",
|
|
"es2015": "dist/liquid.browser.esm.js",
|
|
"browser": {
|
|
"./dist/liquid.node.cjs.js": "./dist/liquid.browser.umd.js",
|
|
"./dist/liquid.node.esm.js": "./dist/liquid.browser.esm.js"
|
|
},
|
|
"types": "dist/index.d.ts",
|
|
"engines": {
|
|
"node": ">=14"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint \"**/*.mjs\" \"**/*.ts\" .",
|
|
"check": "npm run build && npm run build:docs && npm test && npm run lint && npm run perf:diff",
|
|
"test": "jest",
|
|
"test:coverage": "jest --coverage src test/integration",
|
|
"test:e2e": "jest test/e2e",
|
|
"perf:diff": "bin/perf-diff.sh",
|
|
"perf:engines": "cd benchmark && npm run engines",
|
|
"version": "npm run build && npm test",
|
|
"build": "rollup -c rollup.config.mjs",
|
|
"build:cjs": "BUNDLES=cjs rollup -c rollup.config.mjs",
|
|
"build:min": "BUNDLES=min rollup -c rollup.config.mjs",
|
|
"build:umd": "BUNDLES=umd rollup -c rollup.config.mjs",
|
|
"build:charmap": "./bin/character-gen.js > src/util/character.ts",
|
|
"build:docs": "bin/build-docs.sh"
|
|
},
|
|
"bin": {
|
|
"liquidjs": "./bin/liquid.js",
|
|
"liquid": "./bin/liquid.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/harttle/liquidjs.git"
|
|
},
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/liquidjs"
|
|
},
|
|
"files": [
|
|
"bin/liquid.js",
|
|
"dist",
|
|
"LICENSE",
|
|
"README.md"
|
|
],
|
|
"keywords": [
|
|
"liquid",
|
|
"template engine",
|
|
"express",
|
|
"jinja",
|
|
"shopify"
|
|
],
|
|
"author": "Harttle",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/harttle/liquidjs/issues"
|
|
},
|
|
"homepage": "https://github.com/harttle/liquidjs#readme",
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^12.1.4",
|
|
"@commitlint/config-conventional": "^8.2.0",
|
|
"@semantic-release/changelog": "^6.0.2",
|
|
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
"@semantic-release/git": "^10.0.1",
|
|
"@semantic-release/npm": "^9.0.2",
|
|
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
"@types/benchmark": "^1.0.31",
|
|
"@types/express": "^4.17.2",
|
|
"@types/jest": "^29.4.0",
|
|
"@types/jsdom": "^12.2.2",
|
|
"@types/sinon": "^10.0.13",
|
|
"@types/supertest": "^2.0.7",
|
|
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
|
"@typescript-eslint/parser": "^5.6.0",
|
|
"all-contributors-cli": "^6.24.0",
|
|
"benchmark": "^2.1.4",
|
|
"coveralls": "^3.0.2",
|
|
"cross-env": "^5.2.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-standard": "^12.0.0",
|
|
"eslint-plugin-deprecation": "^1.3.2",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-mocha": "^5.3.0",
|
|
"eslint-plugin-node": "^8.0.1",
|
|
"eslint-plugin-promise": "^4.0.1",
|
|
"eslint-plugin-standard": "^4.0.0",
|
|
"express": "^4.16.4",
|
|
"husky": "^4.2.5",
|
|
"jest": "^29.5.0",
|
|
"jsdom": "^16.5.0",
|
|
"rollup": "^1.26.3",
|
|
"rollup-plugin-replace": "^2.1.0",
|
|
"rollup-plugin-typescript2": "^0.31.1",
|
|
"rollup-plugin-uglify": "^6.0.4",
|
|
"rollup-plugin-version-injector": "^1.3.3",
|
|
"semantic-release": "^19.0.3",
|
|
"sinon": "^15.0.2",
|
|
"supertest": "^3.4.2",
|
|
"ts-jest": "^29.0.5",
|
|
"tslib": "^2.3.1",
|
|
"typedoc": "^0.23.26",
|
|
"typescript": "^4.5.3"
|
|
},
|
|
"dependencies": {
|
|
"commander": "^10.0.0"
|
|
},
|
|
"release": {
|
|
"branch": "master",
|
|
"plugins": [
|
|
"@semantic-release/commit-analyzer",
|
|
"@semantic-release/release-notes-generator",
|
|
"@semantic-release/changelog",
|
|
"@semantic-release/npm",
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": [
|
|
"package.json",
|
|
"package-lock.json",
|
|
"CHANGELOG.md"
|
|
],
|
|
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/github",
|
|
{
|
|
"assets": [
|
|
{
|
|
"path": "dist/*.umd.js",
|
|
"label": "liquid.js"
|
|
},
|
|
{
|
|
"path": "dist/*.min.js",
|
|
"label": "liquid.min.js"
|
|
},
|
|
{
|
|
"path": "dist/*.min.js.map",
|
|
"label": "liquid.min.js.map"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"nyc": {
|
|
"extension": [
|
|
".ts"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run check",
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
}
|
|
}
|
|
}
|