-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
92 lines (92 loc) · 2.84 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
{
"name": "@squarespace/template-engine",
"version": "2.10.7",
"description": "Squarespace template engine",
"main": "lib/index.js",
"module": "lib-es/index.js",
"types": "lib/index.d.ts",
"bin": {
"templatec": "./bin/templatec.js"
},
"scripts": {
"bench": "ts-node __benchmarks__/",
"build": "npm run build:cj && npm run build:es",
"build:cj": "tsc",
"build:es": "tsc --module esnext --outDir lib-es",
"build:rollup": "rimraf dist && NODE_ENV=production rollup -c && dts-bundle-generator -o ./dist/sqsptemplate2.umd.d.ts src/index.ts",
"build:watch": "tsc --watch",
"build:es:watch": "tsc --watch --module esnext --outDir lib-es",
"clean": "rimraf dist lib lib-es coverage && jest --clearCache",
"generate": "ts-node scripts/generate.ts",
"reformat": "prettier --write __benchmarks__ __tests__ src",
"link-all": "ls --color=none node_modules/@phensley | xargs -I % yarn link @phensley/%",
"unlink-all": "ls --color=none node_modules/@phensley | xargs -I % yarn unlink @phensley/%",
"lint": "tslint -p ./tsconfig.lint.json",
"test": "NODE_ENV=test jest --coverage=true",
"test:watch": "NODE_ENV=test jest --watch",
"test:watchcover": "NODE_ENV=test jest --watch --coverage=true",
"test:coveralls": "npm run test && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"
},
"keywords": [],
"author": "Patrick Hensley <[email protected]>",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/Squarespace/template-engine.git"
},
"dependencies": {
"@phensley/timezone": "~1.2.17",
"utf8": "^3.0.0"
},
"peerDependencies": {
"@phensley/cldr-core": "~1.2.17"
},
"devDependencies": {
"@phensley/cldr": "~1.2.17",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-json": "^4.0.3",
"@rollup/plugin-node-resolve": "^7.1.3",
"@types/jest": "^29.5.10",
"@types/node": "^20.10.0",
"@types/utf8": "^3.0.3",
"beautify-benchmark": "^0.2.4",
"benchmark": "^2.1.4",
"chalk": "^4.0.0",
"coveralls": "^3.1.1",
"dependency-cruiser": "^15.5.0",
"dts-bundle-generator": "^9.0.0",
"jest": "^29.7.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"rollup": "^2.10.0",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-terser": "^5.3.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tslint": "^6.1.1",
"tslint-no-circular-imports": "^0.7.0",
"typescript": "^5.3.2"
},
"jest": {
"verbose": true,
"testEnvironmentOptions": {
"url": "http://localhost/"
},
"collectCoverage": false,
"collectCoverageFrom": [
"src/**/*.ts"
],
"testMatch": [
"**/__tests__/**/*.test.ts"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
}
},
"files": [
"bin",
"lib",
"lib-es"
]
}