forked from FallenMax/smart-toc
-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
54 lines (54 loc) · 1.96 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
{
"name": "smart-toc",
"version": "0.0.1",
"description": "an chrome extension that generates a table of content for webpage",
"main": "src/js/index.js",
"scripts": {
"clean": "rm -rf dist/* firefox/* chrome/*",
"start": "export ENV=development && yarn run build:background && rollup --config rollup.config.js --watch",
"lint:watch": "tsc --watch",
"build": "export ENV=production && yarn run clean; yarn run build:content && yarn run build:background && yarn run build:chrome && yarn run build:firefox",
"build:content": "rollup --config rollup.config.js",
"build:background": "mkdir -p dist && cp -R src/background/* dist/",
"build:chrome": "mkdir -p chrome && zip -r chrome/smart-toc.zip dist",
"build:firefox": "yarn run build:firefox:package && yarn run build:firefox:source",
"build:firefox:package": "web-ext build --overwrite-dest --artifacts-dir ./firefox --source-dir ./dist/ ",
"build:firefox:source": "zip -r ./firefox/smart-toc_source.zip src package.json README.md tsconfig.json rollup.config.js yarn.lock"
},
"repository": {
"type": "git",
"url": "git+https://github.com/FallenMax/smart-toc.git"
},
"keywords": [
"chrome",
"extension",
"table-of-content",
"toc",
"outline",
"outliner"
],
"author": "FallenMax@gmail.com",
"license": "ISC",
"bugs": {
"url": "https://github.com/FallenMax/smart-toc/issues"
},
"homepage": "https://github.com/FallenMax/smart-toc#readme",
"devDependencies": {
"@types/chrome": "^0.0.154",
"@types/mithril": "^2.0.8",
"rollup": "2.56.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-string": "^3.0.0",
"rollup-plugin-typescript": "^1.0.1",
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.3.5",
"web-ext": "^6.2.0"
},
"dependencies": {
"mithril": "^2.0.4",
"pcf-start": "^1.6.5",
"tslib": "^2.3.0"
}
}