1 | {
|
2 | "name": "lorem-ipsum",
|
3 | "version": "2.0.4",
|
4 | "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.",
|
5 | "author": "Nickolas Kenyeres <nkenyeres@gmail.com> (http://knicklabs.github.com)",
|
6 | "license": "ISC",
|
7 | "repository": {
|
8 | "type": "git",
|
9 | "url": "git://github.com/knicklabs/node-lorem-ipsum.git"
|
10 | },
|
11 | "main": "dist/index",
|
12 | "bin": {
|
13 | "lorem-ipsum": "dist/bin/lorem-ipsum.bin.js"
|
14 | },
|
15 | "types": "types/src/index.d.ts",
|
16 | "scripts": {
|
17 | "type-check": "tsc --noEmit",
|
18 | "build:types": "rm -rf types && tsc --emitDeclarationOnly",
|
19 | "build:js": "rm -rf dist && babel src --ignore '**/*.test.ts' --out-dir dist --extensions \".ts,.tsx\" --source-maps inline",
|
20 | "build:exec": "gsed -i '1i #!/usr/bin/env node' dist/bin/lorem-ipsum.bin.js",
|
21 | "build": "npm run build:types && npm run build:js && npm run build:exec",
|
22 | "lint:check": "tslint -c tslint.json src/**/*.ts",
|
23 | "test": "jest --coverage",
|
24 | "release": "npm run build && release-it",
|
25 | "release:dry": "npm run build && release-it --dry-run",
|
26 | "coverage": "nyc report --temp-directory=coverage --reporter=text-lcov | coveralls",
|
27 | "coverage:dry": "nyc report --temp-directory=coverage --reporter=text-lcov"
|
28 | },
|
29 | "keywords": [
|
30 | "lorem",
|
31 | "ipsum",
|
32 | "placeholder",
|
33 | "text",
|
34 | "dummy",
|
35 | "filler"
|
36 | ],
|
37 | "engines": {
|
38 | "node": ">= 8.x",
|
39 | "npm": ">= 5.x"
|
40 | },
|
41 | "devDependencies": {
|
42 | "@babel/cli": "^7.15.7",
|
43 | "@babel/core": "^7.15.5",
|
44 | "@babel/plugin-proposal-class-properties": "^7.14.5",
|
45 | "@babel/plugin-proposal-object-rest-spread": "^7.15.6",
|
46 | "@babel/plugin-transform-modules-commonjs": "^7.15.4",
|
47 | "@babel/preset-env": "^7.15.6",
|
48 | "@babel/preset-typescript": "^7.15.0",
|
49 | "@types/jest": "^23.3.1",
|
50 | "@types/node": "^10.17.60",
|
51 | "@types/random-seed": "^0.3.3",
|
52 | "babel-loader": "^8.0.0",
|
53 | "coveralls": "^3.0.2",
|
54 | "jest": "^27.2.4",
|
55 | "nock-exec": "^0.1.0",
|
56 | "nyc": "^15.1.0",
|
57 | "prettier": "^1.14.2",
|
58 | "release-it": "^14.11.6",
|
59 | "ts-jest": "^27.0.5",
|
60 | "tslint": "^5.11.0",
|
61 | "typescript": "^4.4.3"
|
62 | },
|
63 | "dependencies": {
|
64 | "commander": "^2.17.1"
|
65 | },
|
66 | "jest": {
|
67 | "collectCoverageFrom": [
|
68 | "src/**/*.ts",
|
69 | "!src/bin/**/*.ts",
|
70 | "!src/constants/cli.ts",
|
71 | "!src/constants/regex.ts",
|
72 | "!src/@types/**/*.d.ts"
|
73 | ],
|
74 | "transform": {
|
75 | "^.+\\.tsx?$": "ts-jest"
|
76 | },
|
77 | "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
78 | "moduleFileExtensions": [
|
79 | "ts",
|
80 | "tsx",
|
81 | "js",
|
82 | "jsx",
|
83 | "json",
|
84 | "node"
|
85 | ]
|
86 | }
|
87 | }
|