UNPKG

2.53 kBJSONView Raw
1{
2 "name": "micromustache",
3 "version": "8.0.3",
4 "description": "A fast, minimal and secure template engine for JavaScript",
5 "keywords": [
6 "template",
7 "mustache",
8 "string processing",
9 "string interpolation",
10 "template engine",
11 "lodash get",
12 "lodash toPath",
13 "lodash template",
14 "microlibrary"
15 ],
16 "types": "dist/types/index.d.ts",
17 "type": "commonjs",
18 "main": "dist/micromustache.cjs",
19 "module": "dist/micromustache.mjs",
20 "directories": {
21 "example": "examples",
22 "lib": "./dist"
23 },
24 "engines": {
25 "node": ">=8"
26 },
27 "devDependencies": {
28 "@rollup/plugin-typescript": "^5.0.2",
29 "@types/jest": "^26.0.9",
30 "@types/mustache": "^4.0.1",
31 "@types/node": "^14.0.27",
32 "@typescript-eslint/eslint-plugin": "^3.8.0",
33 "@typescript-eslint/parser": "^3.8.0",
34 "am": "^1.0.2",
35 "eslint": "^7.6.0",
36 "eslint-config-prettier": "^6.11.0",
37 "jest": "^26.2.2",
38 "mustache": "^4.0.1",
39 "pkg-ok": "^2.3.1",
40 "prettier": "^2.0.5",
41 "rimraf": "^3.0.2",
42 "rollup": "^2.23.0",
43 "rollup-plugin-terser": "^6.1.0",
44 "sloc": "^0.2.1",
45 "ts-jest": "^26.1.4",
46 "ts-node": "^8.10.2",
47 "tslib": "^2.0.0",
48 "typedoc": "^0.17.8",
49 "typescript": "^3.9.7"
50 },
51 "repository": {
52 "type": "git",
53 "url": "http://github.com/userpixel/micromustache.git"
54 },
55 "funding": "https://github.com/userpixel/micromustache/blob/master/.github/FUNDING.yml",
56 "author": "Alex Ewerlöf",
57 "license": "MIT",
58 "scripts": {
59 "clean": "rimraf dist",
60 "build:ts": "rollup --config",
61 "build:types": "tsc src/index.ts --declaration --emitDeclarationOnly --declarationDir dist/types",
62 "build": "npm run build:ts && npm run build:types",
63 "docs": "typedoc src/index.ts",
64 "lint": "eslint --ext .ts src",
65 "lint:fix": "npm run lint -- --fix",
66 "pretest": "npm run lint",
67 "test:unit": "jest",
68 "pretest:dist": "npm run build",
69 "test:dist": "cd dist-test && ./run.sh",
70 "test:examples": "for i in examples/*.js;do node \"$i\";done",
71 "test": "npm run test:unit && npm run test:dist && npm run test:examples",
72 "preversion": "npm test && npm run clean && npm run build && pkg-ok",
73 "prepublishOnly": "npm run test && npm run build && pkg-ok",
74 "postversion": "git push && git push --tags",
75 "api-extractor": "api-extractor run --local",
76 "sloc": "sloc src -e .*spec.* -k source --format cli-table",
77 "perf": "npm run build:ts && node perf/against-mustache.js"
78 },
79 "dependencies": {}
80}