-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
31 lines (31 loc) · 1.25 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
{
"name": "firelomo",
"version": "1.1.0",
"description": "Quickly send page content to Flomo",
"scripts": {
"clean": "rimraf dist/ web-ext-artifacts/ .web-extension-id firelomo-source-*.zip",
"build-ts": "tsc",
"copy-files": "copyfiles -u 1 \"src/**/*.html\" \"src/**/*.css\" \"src/**/*.js\" dist/",
"browserify": "ts-node -O '{\"module\": \"commonjs\"}' scripts/browserify.ts",
"build": "npm run clean && npm run build-ts && npm run copy-files && npm run browserify",
"publish": "npm run build && web-ext build --overwrite-dest --ignore-files src/ scripts/ README.md package-lock.json package.json tsconfig.json",
"sign": "npm run build && web-ext sign --ignore-files src/ scripts/ README.md package-lock.json package.json tsconfig.json",
"archive": "sh -c 'git archive --format zip -o firelomo-source-$1.zip $1' _"
},
"keywords": [],
"author": "7sDream <[email protected]>",
"license": "BSD-3-Clause",
"devDependencies": {
"@types/browserify": "^12.0.36",
"@types/node": "^14.14.41",
"brfs": "^2.0.2",
"browserify": "^17.0.0",
"copyfiles": "^2.4.1",
"esmify": "^2.1.1",
"rimraf": "^3.0.2",
"ts-node": "^9.1.1",
"typescript": "^4.2.4",
"web-ext": "^6.1.0",
"web-ext-types": "^3.2.1"
}
}