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
|
{
"name": "about-welcome",
"description": "Task running for the about:welcome page",
"version": "1.0.0",
"author": "Mozilla (https://mozilla.org/)",
"dependencies": {
"@fluent/bundle": "0.17.1",
"@fluent/react": "0.15.0",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-redux": "7.2.6",
"react-transition-group": "4.4.2",
"redux": "4.1.2"
},
"devDependencies": {
"@babel/preset-react": "7.16.0",
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"babel-loader": "8.2.3",
"babel-plugin-jsm-to-esmodules": "0.6.0",
"chai": "4.3.4",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.6",
"karma": "6.3.8",
"karma-chai": "0.1.0",
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-firefox-launcher": "2.1.2",
"karma-json-reporter": "1.2.1",
"karma-mocha": "2.0.1",
"karma-mocha-reporter": "2.2.5",
"karma-sinon": "1.0.5",
"karma-sourcemap-loader": "0.3.8",
"karma-webpack": "5.0.0",
"npm-run-all": "4.1.5",
"sass": "1.43.4",
"sinon": "12.0.1",
"stream-browserify": "3.0.0",
"webpack": "5.56.0",
"webpack-cli": "4.9.1",
"yamscripts": "0.1.0"
},
"engines": {
"firefox": ">=45.0 <=*",
"//": "when changing node versions, also edit .nvmrc",
"node": "16.19.*",
"npm": "8.19.3"
},
"license": "MPL-2.0",
"config": {
"mc_root": "../../..",
"welcome_path": "browser/components/aboutwelcome"
},
"scripts": {
"bundle": "npm-run-all bundle:*",
"bundle:welcomeBundle": "webpack-cli --config webpack.aboutwelcome.config.js",
"bundle:welcomeCss": "sass content-src:content --no-source-map",
"watchmc": "npm-run-all --parallel watchmc:*",
"watchmc:welcomeBundle": "npm run bundle:welcomeBundle -- --env development -w",
"watchmc:welcomeCss": "npm run bundle:welcomeCss -- --source-map --embed-sources --embed-source-map -w",
"testmc": "npm-run-all testmc:*",
"testmc:lint": "npm run lint",
"testmc:build": "npm run bundle:welcomeBundle",
"testmc:unit": "karma start karma.mc.config.js",
"tddmc": "karma start karma.mc.config.js --tdd",
"debugcoverage": "open logs/coverage/lcov-report/index.html",
"lint": "npm-run-all lint:*",
"lint:codespell": "(cd $npm_package_config_mc_root && ./mach lint -l codespell $npm_package_config_welcome_path)",
"lint:eslint": "(cd $npm_package_config_mc_root && ./mach lint -l eslint $npm_package_config_welcome_path)",
"lint:l10n": "(cd $npm_package_config_mc_root && ./mach lint -l l10n --warnings soft browser/locales/en-US/browser/newtab)",
"lint:license": "(cd $npm_package_config_mc_root && ./mach lint -l license $npm_package_config_welcome_path)",
"lint:stylelint": "(cd $npm_package_config_mc_root && ./mach lint -l stylelint $npm_package_config_welcome_path)",
"test": "npm run testmc",
"tdd": "npm run tddmc",
"fix": "npm-run-all fix:*",
"fix:eslint": "npm run lint:eslint -- --fix",
"fix:stylelint": "npm run lint:stylelint -- --fix",
"help": "yamscripts help",
"yamscripts": "yamscripts compile",
"__": "# NOTE: THESE SCRIPTS ARE COMPILED!!! EDIT yamscripts.yml instead!!!"
}
}
|