-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 2.18 KB
/
package.json
File metadata and controls
50 lines (50 loc) · 2.18 KB
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
{
"name": "textframe",
"version": "1.2.1",
"description": "Re-Frame Multi-Line Text",
"keywords": [ "strip", "indentation", "text", "string" ],
"browser": "./lib/textframe.browser.js",
"main": "./lib/textframe.node.js",
"types": "./src/textframe.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/rse/textframe.git"
},
"author": {
"name": "Dr. Ralf S. Engelschall",
"email": "rse@engelschall.com",
"url": "http://engelschall.com"
},
"license": "MIT",
"homepage": "https://github.com/rse/textframe",
"bugs": "https://github.com/rse/textframe/issues",
"dependencies": {
},
"devDependencies": {
"eslint": "9.39.2",
"@eslint/js": "9.39.2",
"eslint-plugin-n": "17.23.2",
"eslint-plugin-promise": "7.2.1",
"eslint-plugin-import": "2.32.0",
"neostandard": "0.12.2",
"globals": "17.1.0",
"browserify": "17.0.1",
"envify": "4.1.0",
"uglifyify": "5.0.2",
"browserify-header": "1.1.0",
"browserify-derequire": "1.1.1",
"mocha": "11.7.5",
"chai": "6.2.2"
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"lint": "eslint --config eslint.mjs src/**/*.js tst/**/*.js",
"build:browser": "browserify -t [ envify --PLATFORM browser ] -t [ uglifyify --global ] -p browserify-derequire -p browserify-header --standalone textframe -o lib/textframe.browser.js src/textframe.js",
"build:node": "cp src/textframe.js lib/textframe.node.js",
"build": "mkdir -p lib && npm run build:browser && npm run build:node",
"test": "mocha --reporter spec tst/*.js",
"prepublishOnly": "npm run lint && npm run build && npm run test"
}
}