-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2.02 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
{
"name": "reimemonster",
"version": "0.2.2",
"description": "Counts syllables in texts.",
"main": "./lib/index.js",
"types": "types.d.ts",
"bin": {
"find-rhyme": "./bin/find-rhyme.js",
"poem": "./bin/poem.js"
},
"packageManager": "[email protected]",
"scripts": {
"coverage": "jest --ci --coverage",
"build": "npm -s run build-demo && npm -s run build-lib",
"build-demo": "rollup docs/demo-worker.mjs -o docs/demo-worker.js -f es && rollup docs/demo.mjs -o docs/demo.js -f es",
"build-lib": "npm -s run build-lib-cli && npm -s run build-lib-module",
"build-lib-cli": "npm -s run build-lib-cli-poem && npm -s run build-lib-cli-rhyme",
"build-lib-cli-poem": "rollup src/cli/cli-poem.mjs -o bin/poem.js -e split -f cjs --banner '#!/usr/bin/env node\n'",
"build-lib-cli-rhyme": "rollup src/cli/cli-find.mjs -o bin/find-rhyme.js -f cjs --banner '#!/usr/bin/env node\n'",
"build-lib-module": "rollup src/module/index.mjs -o lib/index.js -f cjs",
"demo": "npx serve docs",
"format": "prettier --write src/**/*.{m,}js",
"lint": "prettier --check src/**/*.{m,}js",
"rhyme": "node --experimental-modules src/cli/cli-find.mjs",
"start": "node --experimental-modules src/cli/cli-poem.mjs --validate",
"test": "jest --ci"
},
"engines": {
"node": ">=8.6.0"
},
"keywords": [],
"author": "Joern Bernhardt <[email protected]> (http://www.unreleased.de)",
"license": "MIT",
"devDependencies": {
"babel-core": "^6.26.3",
"babel-jest": "^29.7.0",
"babel-preset-env": "^1.7.0",
"coveralls": "^3.1.1",
"jest": "^29.7.0",
"prettier": "^3.1.1",
"rollup": "^4.9.1"
},
"dependencies": {
"split": "^1.0.1"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"jsx",
"node",
"mjs"
],
"testMatch": [
"**/__tests__/**/*.js?(x)",
"**/?(*.)(spec|test).js?(x)",
"**/__tests__/**/*.mjs",
"**/?(*.)(spec|test).mjs"
],
"transform": {
"^.+\\.m?jsx?$": "babel-jest"
}
}
}