mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 04:10:40 -07:00
In this diff I fixed es modules distribution for bundlers. Before we had two problems - bundlers use "module" field to find es module build - bundlers cannot use provided es module with node target In this diff I addressed both of them. Now "main" and "module" fields points to "node" specific versions. "browser" field provides aliases with browser compatible builds. All modern browsers support both "module" and "browser" fields.
147 lines
4.2 KiB
JSON
147 lines
4.2 KiB
JSON
{
|
|
"name": "liquidjs",
|
|
"version": "9.13.0",
|
|
"description": "A simple, expressive, safe and Shopify 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/liquid.d.ts",
|
|
"scripts": {
|
|
"lint": "eslint .",
|
|
"check": "npm test && npm run lint",
|
|
"unit": "mocha \"test/unit/**/*.ts\"",
|
|
"integration": "mocha \"test/integration/**/*.ts\"",
|
|
"e2e": "npm run build && mocha \"test/e2e/**/*.ts\"",
|
|
"test": "cross-env BUNDLES=cjs,umd npm run build && mocha \"test/**/*.ts\"",
|
|
"benchmark": "node --expose-gc benchmark/index",
|
|
"coverage": "nyc --reporter=html mocha \"test/{unit,integration}/**/*.ts\"",
|
|
"coverage-coveralls": "nyc mocha \"test/{unit,integration}/**/*.ts\" && nyc report --reporter=text-lcov | coveralls",
|
|
"build": "rm -rf dist && rollup -c rollup.config.ts && ls -lh dist",
|
|
"build-docs": "bin/build-docs.sh",
|
|
"watch": "tsc --watch"
|
|
},
|
|
"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"
|
|
],
|
|
"engines": {
|
|
"node": ">=4.8.7"
|
|
},
|
|
"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": "^8.2.0",
|
|
"@commitlint/config-conventional": "^8.2.0",
|
|
"@semantic-release/changelog": "^3.0.2",
|
|
"@semantic-release/commit-analyzer": "^6.1.0",
|
|
"@semantic-release/git": "^7.0.8",
|
|
"@semantic-release/npm": "^5.1.8",
|
|
"@semantic-release/release-notes-generator": "^7.1.4",
|
|
"@types/benchmark": "^1.0.31",
|
|
"@types/chai": "^4.1.7",
|
|
"@types/chai-as-promised": "^7.1.0",
|
|
"@types/express": "^4.17.2",
|
|
"@types/jsdom": "^12.2.2",
|
|
"@types/mocha": "^5.2.6",
|
|
"@types/sinon": "^7.0.6",
|
|
"@types/sinon-chai": "^3.2.2",
|
|
"@types/supertest": "^2.0.7",
|
|
"@typescript-eslint/eslint-plugin": "^2.0.0",
|
|
"@typescript-eslint/parser": "^2.0.0",
|
|
"all-contributors-cli": "^6.8.1",
|
|
"benchmark": "^2.1.4",
|
|
"chai": "^4.2.0",
|
|
"chai-as-promised": "^7.1.1",
|
|
"coveralls": "^3.0.2",
|
|
"cross-env": "^5.2.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-standard": "^12.0.0",
|
|
"eslint-plugin-import": "^2.15.0",
|
|
"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",
|
|
"jsdom": "^13.2.0",
|
|
"mocha": "^5.2.0",
|
|
"nyc": "^13.1.0",
|
|
"regenerator-runtime": "^0.12.1",
|
|
"rollup": "^1.1.2",
|
|
"rollup-plugin-replace": "^2.1.0",
|
|
"rollup-plugin-typescript2": "^0.21.1",
|
|
"rollup-plugin-uglify": "^6.0.2",
|
|
"semantic-release": "^15.13.19",
|
|
"sinon": "^7.5.0",
|
|
"sinon-chai": "^3.3.0",
|
|
"supertest": "^3.4.2",
|
|
"ts-node": "^8.0.2",
|
|
"tslib": "^1.9.3",
|
|
"typedoc": "^0.15.0",
|
|
"typedoc-plugin-markdown": "^2.2.17",
|
|
"typescript": "^3.3.3"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"nyc": {
|
|
"extension": [
|
|
".ts"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run check",
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
}
|
|
},
|
|
"dependencies": {}
|
|
}
|