-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 3.16 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
88
89
90
{
"name": "@next-book/publisher",
"version": "1.0.2",
"description": "Publish web books with next-book",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"bin": {
"publish-nb": "./dist/src/bin/cli.js"
},
"scripts": {
"tscRun": "tsc && node dist/src/app.js",
"dev": "onchange 'src/*' -v -- npm run tscRun",
"bundle": "browserify src/browser.ts -p [ tsify --noImplicitAny ] > dist/src/browser.js",
"bundleServiceWorker": "browserify src/service-worker/code.tpl.ts -p [ tsify --noImplicitAny ] > dist/src/service-worker/code.tpl.js",
"transpile": "babel dist/src/browser.js --out-file docs/browser.js",
"transpileServiceWorker": "babel dist/src/service-worker/code.tpl.js --out-file dist/src/service-worker/code.tpl.js",
"updateExample": "cp dist/src/browser.js docs/browser.js",
"updateDocs": "typedoc --out docs/api src/**.ts src/**/*.ts",
"compileAndTranspile": "tsc && chmod u+x dist/src/bin/cli.js && npm run bundle && npm run transpile && npm run transpileServiceWorker && npm run bundleServiceWorker",
"build": "npm run compileAndTranspile && npm run updateDocs && npm run updateExample",
"build:watch": "tsc --watch",
"pretest:production": "npm link",
"test:production": "npm run test -- src/tests/production/",
"test:unit": "npm run test -- src/tests/unit/",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"clearJestCache": "jest --clearCache"
},
"repository": {
"type": "git",
"url": "git+https://github.com/next-book/publisher.git"
},
"keywords": [
"publisher",
"next-book",
"web books"
],
"author": "Jan Martinek",
"license": "MIT",
"bugs": {
"url": "https://github.com/next-book/publisher/issues"
},
"homepage": "https://github.com/next-book/publisher#readme",
"dependencies": {
"@babel/plugin-transform-runtime": "^7.16.0",
"acorn": "^7.1.1",
"cli-progress": "^2.1.1",
"commander": "^2.20.3",
"express": "^4.17.1",
"i18next": "^21.8.1",
"jsdom": "^19.0.0",
"pretty": "^2.0.0",
"recursive-copy": "^2.0.10",
"recursive-readdir": "^2.2.2",
"rimraf": "^2.7.1",
"slug": "^0.9.4",
"zod": "^3.13.4"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.7.5",
"@babel/preset-env": "^7.16.0",
"@babel/preset-typescript": "^7.15.0",
"@types/cli-progress": "^3.9.2",
"@types/express": "^4.17.13",
"@types/jest": "^27.5.1",
"@types/jsdom": "^16.2.13",
"@types/node": "^16.4.13",
"@types/pretty": "^2.0.0",
"@types/recursive-readdir": "^2.2.0",
"@types/rimraf": "^3.0.1",
"@types/slug": "^5.0.2",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"browserify": "^16.5.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-tsdoc": "^0.2.14",
"execa": "^5.1.1",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"jest-matcher-utils": "^28.1.0",
"onchange": "^6.1.0",
"prettier": "^2.4.1",
"ts-jest": "^28.0.2",
"tsify": "^5.0.4",
"typedoc": "^0.21.5",
"typescript": "^4.3.5"
}
}