-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
41 lines (41 loc) · 1.68 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
{
"private": true,
"name": "@gkalpak/ng-slack-linkifier",
"version": "0.4.4",
"description": "Improves messages, especially links, in the `angular-team` Slack.",
"main": "index.js",
"keywords": [
"Slack",
"Utility"
],
"scripts": {
"prebuild": "run-s clean-dist",
"build": "run-s ~~generate-dist ~~generate-dist-min",
"clean-dist": "node --eval \"require('shelljs/global'); set('-e'); rm('-rf', 'dist/');\"",
"lint": "eslint ./",
"prerelease": "run-s lint",
"release": "gkcu-run \"npm version \\${*:patch}\"",
"test": "run-s lint && node --print \"'No tests yet.\\n'\" && exit 1",
"version": "run-s build && git add --all dist/",
"postversion": "git push && git push --tags",
"~~generate-dist": "node --eval \"require('shelljs/global'); set('-e'); mkdir('-p', 'dist/'); cp('index.js', 'dist/');\"",
"post~~generate-dist": "node --eval \"require('shelljs/global'); set('-e'); sed('-i', /X\\.Y\\.Z-VERSION/g, process.env.npm_package_version, 'dist/index.js');\"",
"~~generate-dist-min": "terser dist/index.js --compress --ecma=2019 --mangle --output=dist/index.min.js",
"post~~generate-dist-min": "node --eval \"const p = 'dist/index.min.js'; fs.writeFileSync(p, 'javascript:' + fs.readFileSync(p));\""
},
"license": "Unlicense",
"author": "gkalpak <kalpakas.g@gmail.com>",
"homepage": "https://github.com/gkalpak/ng-slack-linkifier#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/gkalpak/ng-slack-linkifier.git"
},
"dependencies": {},
"devDependencies": {
"@gkalpak/cli-utils": "^0.1.9",
"eslint": "^7.8.1",
"npm-run-all": "^4.1.5",
"shelljs": "^0.8.4",
"terser": "^5.3.0"
}
}