forked from iansan5653/compress-tag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.72 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
{
"name": "compress-tag",
"version": "2.0.0",
"description": "Template literal tag to remove excess whitespace and newlines from strings.",
"main": "dist/index.js",
"unpkg": "dist/index.min.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/iansan5653/compress-tag",
"scripts": {
"build": "tsc",
"minify": "node-minify --compressor uglify-es --input dist/index.js --output dist/index.min.js",
"test": "ts-mocha src/**/*.test.ts",
"testWithCoverage": "npm run build && nyc --reporter=text mocha src/**/*.test.ts --require ts-node/register --require source-map-support/register",
"testForCheck": "nyc --reporter=text-summary mocha src/index.test.ts --reporter=progress",
"testForCI": "nyc --reporter=cobertura --reporter=html mocha src/index.test.ts --reporter=mocha-junit-reporter --reporter-options mochaFile=test-results.xml",
"lint": "eslint src/**/*.ts",
"check": "npm run build && npm run testForCheck && npm run lint",
"ensureCleanTree": "echo 'Checking to ensure all changes are committed...' && git diff --quiet --exit-code & git diff --quiet --cached --exit-code",
"prepublishOnly": "npm run ensureCleanTree && npm run check && npm run minify",
"postpublish": "cross-var git tag -a $npm_package_version -m \"See changelog.md for release notes.\" && git push --tags && cross-var git tag -d $npm_package_version",
"format": "prettier src/**/*.test.ts --write"
},
"author": {
"name": "Ian Sanders",
"url": "https://github.com/iansan5653"
},
"license": "MIT",
"devDependencies": {
"@node-minify/uglify-es": "^5.3.0",
"@node-minify/cli": "^5.3.0",
"@node-minify/core": "^5.3.0",
"@types/mocha": "^7.0.2",
"@types/node": "^13.9.5",
"@typescript-eslint/eslint-plugin": "^2.25.0",
"@typescript-eslint/parser": "^2.25.0",
"cross-var": "^1.1.0",
"eslint": "^6.8.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-jsdoc": "^22.1.0",
"eslint-plugin-mocha": "^6.3.0",
"mocha": "^7.1.1",
"mocha-junit-reporter": "^1.23.3",
"nyc": "^15.0.0",
"prettier": "^2.0.2",
"source-map-support": "^0.5.16",
"ts-mocha": "^7.0.0",
"typescript": "^3.8.3"
},
"dependencies": {
"unraw": "^2.0.0"
},
"nyc": {
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"extension": [
".ts",
".tsx"
],
"require": [
"ts-node/register"
],
"sourceMap": true,
"instrument": true
},
"files": [
"dist/index.d.ts",
"dist/index.d.ts.map",
"dist/index.js",
"dist/index.js.map",
"dist/index.min.js"
],
"keywords": [
"strings",
"code format",
"minify",
"compress",
"template literal",
"template literal tag",
"es6",
"tag"
]
}