-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
99 lines (99 loc) · 3.5 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
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"author": "Eric MORAND <[email protected]>",
"name": "twing",
"description": "First-class Twig engine for Node.js",
"keywords": [
"browser",
"compiler",
"template",
"twig",
"twig-engine",
"typescript"
],
"version": "5.1.1",
"homepage": "http://NightlyCommit.github.io/twing",
"license": "BSD-2-Clause",
"repository": {
"type": "git",
"url": "https://github.com/NightlyCommit/twing"
},
"main": "dist/cjs/main.js",
"browser": "dist/es/browser.js",
"module": "dist/es",
"types": "dist/types/main.d.ts",
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"precover": "rimraf coverage .nyc_output",
"prepare": "rimraf dist && npm run build && replace-in-file '__VERSION__' $npm_package_version 'dist/**' --verbose && npm run bundle",
"test": "npm run test:unit && npm run test:integration",
"test:integration": "ts-node node_modules/tape/bin/tape 'test/tests/integration/test.ts' | tap-spec",
"test:unit": "ts-node node_modules/tape/bin/tape 'test/tests/unit/**/test.ts' | tap-spec",
"test:browser": "rimraf test/tests/browser/dist && (tsc --project test/tests/browser && node test/tests/browser/dist/test/tests/browser/test.js) | browserify - | tape-run --render='tap-spec'",
"test:docs": "cd docs && bundle exec jekyll build",
"test:qc": "ts-node node_modules/tape/bin/tape 'test/tests/qc/**/test.ts' | tap-bail | tap-spec",
"lint": "eslint src/ test/",
"lint:fix": "eslint src/ test/ --fix",
"cover": "nyc npm run test",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"build": "npm run build:cjs && npm run build:es && npm run build:types",
"build:cjs": "rimraf dist/cjs && tsc --project . --module commonjs --outDir dist/cjs",
"build:es": "rimraf dist/es && tsc --project . --module es6 --outDir dist/es",
"build:types": "rimraf dist/types && tsc --project . --declaration true --emitDeclarationOnly true --outDir dist/types",
"bundle": "browserify dist/cjs/browser.js -g uglifyify -s Twing -o dist/lib.min.js",
"docs": "cd docs && bundle exec jekyll serve",
"docs:install": "cd docs && bundle install --path vendor/bundle"
},
"dependencies": {
"capitalize": "^1.0.0",
"crypto-js": "^3.1.9-1",
"esrever": "^0.2.0",
"fs-extra": "^5.0.0",
"htmlspecialchars": "^1.0.5",
"iconv-lite": "^0.4.19",
"is-plain-object": "^2.0.4",
"isobject": "^3.0.1",
"levenshtein": "^1.0.5",
"locutus": "^2.0.11",
"luxon": "^1.19.3",
"object-hash": "^1.2.0",
"pad": "^2.0.3",
"regex-parser": "^2.2.8",
"runes": "^0.4.3",
"snake-case": "^2.1.0",
"source-map": "^0.6.1",
"tmp": "0.0.33",
"twig-lexer": "^0.7.2",
"utf8-binary-cutter": "^0.9.2"
},
"devDependencies": {
"@types/eslint": "^8.4.10",
"@types/fs-extra": "^8.0.0",
"@types/locutus": "0.0.5",
"@types/luxon": "^1.4.0",
"@types/node": "^9.3.0",
"@types/sinon": "^4.3.3",
"@types/tape": "^4.2.33",
"@types/tmp": "0.0.33",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"browserify": "^16.2.3",
"coveralls": "^3.0.14",
"eslint": "^8.30.0",
"eslint-plugin-import": "^2.26.0",
"fs-finder": "^1.8.1",
"nyc": "^15.0.1",
"replace-in-file": "^3.4.2",
"rimraf": "^2.6.2",
"sinon": "^6.3.4",
"tap-bail": "^1.0.0",
"tap-spec": "^5.0.0",
"tape": "^5.6.1",
"tape-run": "^10.0.0",
"ts-node": "^8.4.1",
"tsify": "^4.0.1",
"typescript": "^3.1.3",
"uglifyify": "^5.0.1"
}
}