forked from facebookincubator/meta-code-verify
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 1.55 KB
/
package.json
File metadata and controls
29 lines (29 loc) · 1.55 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
{
"name": "meta-code-verify",
"version": "0.1.0",
"description": "Browser extensions to verify code running in the browser against a published manifest",
"main": "none",
"repository": "git@github.com:facebookincubator/meta-code-verify.git",
"author": "Richard Hansen <rrh@fb.com>",
"license": "MIT",
"type": "module",
"private": true,
"scripts": {
"build-local-dev": "yarn clean && yarn lint && yarn copyStaticFilesAndConfig && yarn makeBundle",
"clean": "rm -rf dist/chrome/* dist/edge/* dist/firefox/*",
"lint": "yarn makePrettier && yarn run eslint src/js/**",
"copyChromeFilesAndConfig": "cp config/v3/* dist/chrome && cp images/* dist/chrome && cp src/html/* dist/chrome && cp src/css/* dist/chrome && cp -r _locales dist/chrome/",
"copyEdgeFilesAndConfig": "cp config/v3/* dist/edge && cp images/* dist/edge && cp src/html/* dist/edge && cp src/css/* dist/edge && cp -r _locales dist/edge",
"copyFirefoxFilesAndConfig": "cp config/v2/* dist/firefox && cp images/* dist/firefox && cp src/html/* dist/firefox && cp src/css/* dist/firefox && cp -r _locales dist/firefox",
"copyStaticFilesAndConfig": "yarn copyChromeFilesAndConfig && yarn copyEdgeFilesAndConfig && yarn copyFirefoxFilesAndConfig",
"makeBundle": "yarn run rollup -c",
"makePrettier": "yarn run prettier --write \"src/**/*.js\"",
"test": "yarn lint && node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js"
},
"devDependencies": {
"eslint": "^7.32.0",
"jest": "^27.1.0",
"prettier": "^2.3.2",
"rollup": "^2.56.3"
}
}