-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
86 lines (86 loc) · 2.59 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "@basalt/twig-renderer",
"version": "3.2.4",
"description": "Render templates using Twig PHP, via this Node JS renderer.",
"main": "dist/twig-renderer.js",
"module": "dist/twig-renderer.mjs.js",
"types": "index.d.ts",
"scripts": {
"build": "rm -rf dist && mkdir dist && cp src/*.php dist/ && rollup --config rollup.config.js",
"start": "nodemon --ext .js,.php --watch src/ --watch config.schema.json --exec 'npm run build' ",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"jest": "jest --detectOpenHandles",
"jest:watch": "npm run jest -- --watch",
"test": "npm run lint && npm run jest",
"precommit": "npm run lint:fix",
"prepush": "npm test",
"prepare": "composer install --no-dev --optimize-autoloader --prefer-dist",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"ajv": "^v6.12.6",
"execa": "^1.0.0",
"fs-extra": "^7.0.1",
"get-port": "^5.1.1",
"node-fetch": "^2.7.0",
"sleep-promise": "^8.0.1"
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.25.9",
"@auto-it/npm": "^11.3.0",
"auto": "^11.3.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^22.21.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.2",
"husky": "^0.15.0-rc.13",
"jest": "^23.6.0",
"nodemon": "^1.19.4",
"regenerator-runtime": "^0.14.1",
"rollup": "^0.68.2",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-filesize": "^5.0.1",
"rollup-plugin-json": "^3.0.0",
"rollup-plugin-node-resolve": "^3.3.0"
},
"files": [
"config.schema.json",
"dist",
"index.d.ts",
"vendor"
],
"commentOnFiles": "we are explicitely including 'vendor' in the 'files' array above so it is present on install without the need to run 'composer install'. ",
"repository": {
"type": "git",
"url": "git+https://github.com/basaltinc/twig-renderer.git"
},
"keywords": [
"twig"
],
"maintainers": [
{
"name": "Evan Lovely",
"url": "http://evanlovely.com"
},
{
"name": "Salem Ghoweri",
"url": "https://twitter.com/salem_ghoweri"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/basaltinc/twig-renderer/issues"
},
"homepage": "https://github.com/basaltinc/twig-renderer#readme",
"publishConfig": {
"access": "public"
}
}