-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.2 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
{
"name": "generic-linked-list",
"version": "2.0.1",
"description": "Linked Lists using Generics",
"license": "MIT",
"author": "Russell Robinson <[email protected]>",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/russellrobinson/generic-linked-list.git"
},
"keywords": [
"linked-list",
"array",
"typescript",
"generics"
],
"scripts": {
"test": "run-s build test:with-coverage",
"test:with-coverage": "run-s test:unit:clean-coverage test:unit:with-coverage",
"test:with-coverage:html": "run-s test:unit:clean-coverage test:unit:with-coverage:html",
"test:unit": "mocha",
"test:unit:with-coverage:html": "nyc --reporter=html mocha",
"test:unit:with-coverage": "nyc mocha",
"test:unit:clean-coverage": "rimraf .nyc_output coverage",
"build": "run-s clean:build compile build:docs",
"build:docs": "typedoc --out docs --excludeInternal --cleanOutputDir --entryPointStrategy expand ./src",
"clean": "rimraf dist node_modules",
"clean:build": "rimraf dist",
"compile": "run-s compile:tsc minify",
"compile:tsc": "tsc",
"minify": "uglifyjs --compress --mangle --mangle-props --output dist/linked-list.min.js -- dist/linked-list.js",
"build:watch": "rimraf dist && tsc -w",
"prepare": "yarn build && yarn test",
"postpublish": "PACKAGE_ID=$(cat package.json | grep -E \"^[[:space:]]*\\\"(name|version)\\\":[[:space:]]*\\\"(.*)\\\"\" | sed -re 's|.*:[[:space:]]*\\\"(.*)\\\",|\\1|' | paste -d \"@\" - -) && git tag $PACKAGE_ID && git push --tags"
},
"devDependencies": {
"@types/chai": "^4.3.0",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.16",
"chai": "^4.3.6",
"jsdoc-to-markdown": "^7.1.1",
"lodash": "^4.17.21",
"mocha": "^9.2.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"ts-node": "^10.5.0",
"typedoc": "^0.22.11",
"typescript": "^4.5.5",
"uglify": "^0.1.5"
},
"mocha": {
"require": [
"ts-node/register",
"source-map-support/register"
],
"reporter": [
"dot",
"spec"
],
"timeout": 0,
"spec": "test/**/*.spec.ts"
}
}