-
Notifications
You must be signed in to change notification settings - Fork 44
/
package.json
87 lines (87 loc) · 2.62 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
{
"name": "lorem-ipsum",
"version": "2.0.8",
"description": "Generates passages of lorem ipsum text suitable for use as placeholder copy in web pages, graphics, and more. Works in the browser, NodeJS, and React Native.",
"author": "Nickolas Kenyeres <[email protected]> (http://knicklabs.github.com)",
"license": "ISC",
"repository": {
"type": "git",
"url": "git://github.com/knicklabs/node-lorem-ipsum.git"
},
"main": "dist/index",
"bin": {
"lorem-ipsum": "dist/bin/lorem-ipsum.bin.js"
},
"types": "types/src/index.d.ts",
"scripts": {
"type-check": "tsc --noEmit",
"build:types": "rm -rf types && tsc --emitDeclarationOnly",
"build:js": "rm -rf dist && babel src --ignore '**/*.test.ts' --out-dir dist --extensions \".ts,.tsx\" --source-maps inline",
"build:exec": "gsed -i '1i #!/usr/bin/env node' dist/bin/lorem-ipsum.bin.js",
"build": "npm run build:types && npm run build:js && npm run build:exec",
"lint:check": "tslint -c tslint.json src/**/*.ts",
"test": "jest --coverage",
"release": "npm run build && release-it",
"release:dry": "npm run build && release-it --dry-run",
"coverage": "nyc report --temp-directory=coverage --reporter=text-lcov | coveralls",
"coverage:dry": "nyc report --temp-directory=coverage --reporter=text-lcov"
},
"keywords": [
"lorem",
"ipsum",
"placeholder",
"text",
"dummy",
"filler"
],
"engines": {
"node": ">= 8.x",
"npm": ">= 5.x"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.18.2",
"@babel/plugin-proposal-class-properties": "^7.17.12",
"@babel/plugin-proposal-object-rest-spread": "^7.18.0",
"@babel/plugin-transform-modules-commonjs": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@babel/preset-typescript": "^7.17.12",
"@types/jest": "^28.1.1",
"@types/node": "^17.0.41",
"@types/random-seed": "^0.3.3",
"babel-loader": "^8.2.5",
"coveralls": "^3.1.1",
"jest": "^28.1.1",
"nock-exec": "^0.1.0",
"nyc": "^15.1.0",
"prettier": "^2.6.2",
"release-it": "^15.0.0",
"ts-jest": "^28.0.4",
"tslint": "^6.1.3",
"typescript": "^4.7.3"
},
"dependencies": {
"commander": "^9.3.0"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.ts",
"!src/bin/**/*.ts",
"!src/constants/cli.ts",
"!src/constants/regex.ts",
"!src/@types/**/*.d.ts"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}