2019-01-15 00:24:51 +03:00
|
|
|
{
|
|
|
|
"name": "extension-workshop",
|
2020-07-17 21:01:13 +03:00
|
|
|
"version": "2.0.0",
|
2019-01-15 00:24:51 +03:00
|
|
|
"description": "Firefox Extension Workshop",
|
|
|
|
"main": "assets/scripts/scripts.js",
|
|
|
|
"repository": "https://github.com/mozilla/extension-workshop",
|
2019-01-16 21:45:50 +03:00
|
|
|
"license": "MPL-2.0",
|
2019-01-15 00:24:51 +03:00
|
|
|
"private": true,
|
2020-07-17 21:01:13 +03:00
|
|
|
"browserslist": [
|
|
|
|
"> 0.5%",
|
|
|
|
"last 2 versions",
|
|
|
|
"Firefox ESR",
|
|
|
|
"not dead"
|
|
|
|
],
|
2019-01-15 00:24:51 +03:00
|
|
|
"dependencies": {
|
2020-06-29 17:33:48 +03:00
|
|
|
"dompurify": "2.0.12",
|
2020-04-27 14:30:14 +03:00
|
|
|
"foundation-sites": "6.6.3",
|
2019-06-06 20:33:51 +03:00
|
|
|
"hamburgers": "1.1.3",
|
2020-05-15 11:17:34 +03:00
|
|
|
"jquery": "3.5.1",
|
2020-07-17 23:22:48 +03:00
|
|
|
"liquidjs": "9.14.0",
|
2019-10-30 13:21:08 +03:00
|
|
|
"lunr": "2.3.8",
|
2019-02-01 21:37:38 +03:00
|
|
|
"slick-carousel": "1.8.1",
|
|
|
|
"velocity-animate": "1.5.2",
|
|
|
|
"velocity-ui-pack": "1.2.2"
|
2019-02-05 21:26:13 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-07-17 23:22:48 +03:00
|
|
|
"@11ty/eleventy": "0.11.0",
|
|
|
|
"@11ty/eleventy-plugin-syntaxhighlight": "3.0.1",
|
|
|
|
"chalk": "4.1.0",
|
|
|
|
"chokidar-cli": "2.1.0",
|
|
|
|
"clean-css": "4.2.3",
|
|
|
|
"eleventy-xml-plugin": "0.1.0",
|
2020-06-15 19:11:26 +03:00
|
|
|
"eslint": "7.2.0",
|
2020-05-15 17:33:29 +03:00
|
|
|
"eslint-config-prettier": "6.11.0",
|
2020-07-17 23:54:47 +03:00
|
|
|
"eslint-plugin-prettier": "3.1.4",
|
2020-07-17 23:22:48 +03:00
|
|
|
"fs-extra": "9.0.1",
|
|
|
|
"markdown-it": "11.0.0",
|
|
|
|
"node-fetch": "2.6.0",
|
|
|
|
"node-sass": "4.14.1",
|
|
|
|
"npm-run-all": "4.1.5",
|
|
|
|
"postcss": "7.0.32",
|
|
|
|
"postcss-url": "8.0.0",
|
|
|
|
"posthtml": "0.13.1",
|
|
|
|
"posthtml-beautify": "0.7.0",
|
|
|
|
"posthtml-postcss": "0.3.0",
|
|
|
|
"posthtml-urls": "1.0.0",
|
2020-05-15 12:20:10 +03:00
|
|
|
"prettier": "2.0.5",
|
2019-11-07 20:14:30 +03:00
|
|
|
"pretty-quick": "2.0.1",
|
2020-07-17 23:22:48 +03:00
|
|
|
"prismjs": "1.20.0",
|
2020-02-20 23:03:52 +03:00
|
|
|
"rimraf": "3.0.2",
|
2020-07-17 23:22:48 +03:00
|
|
|
"serialize-javascript": "4.0.0",
|
|
|
|
"slugify": "1.4.4",
|
2020-06-29 17:01:41 +03:00
|
|
|
"stylelint": "13.6.1",
|
2020-03-06 17:54:26 +03:00
|
|
|
"stylelint-config-standard": "20.0.0",
|
2020-07-17 21:01:13 +03:00
|
|
|
"svgo": "1.3.2",
|
2020-07-17 23:22:48 +03:00
|
|
|
"terser": "4.8.0",
|
|
|
|
"url-parse": "1.4.7"
|
2019-02-05 21:26:13 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
2019-02-05 22:23:04 +03:00
|
|
|
"lint": "eslint .",
|
2019-04-08 19:35:53 +03:00
|
|
|
"stylelint": "stylelint --syntax scss **/*.scss",
|
2019-02-05 21:26:13 +03:00
|
|
|
"prettier": "prettier --write '**'",
|
2019-02-05 23:30:05 +03:00
|
|
|
"prettier-ci": "prettier -c '**'",
|
2019-02-05 22:37:27 +03:00
|
|
|
"prettier-dev": "pretty-quick --branch master",
|
2019-04-08 19:35:53 +03:00
|
|
|
"test": "npm run prettier-ci && npm run lint && npm run stylelint",
|
2020-07-17 21:01:13 +03:00
|
|
|
"clean": "rimraf './build/' './dist/'",
|
|
|
|
"clean-dist": "rimraf './dist/'",
|
|
|
|
"build": "eleventy --config=./eleventy.config.js && npm run sass:build && npm run uglify:build",
|
|
|
|
"build:unpublished": "ELEVENTY_ENV=production BUILD_UNPUBLISHED=1 npm run build && bin/assets-pipeline",
|
|
|
|
"build:production": "ELEVENTY_ENV=production npm run build && bin/assets-pipeline",
|
|
|
|
"build:serve": "eleventy --serve --port=8081 --config=./eleventy.config.js",
|
|
|
|
"build:debug": "DEBUG=Eleventy* eleventy --serve --port=8081 --config=./eleventy.config.js",
|
|
|
|
"start": "npm run clean && npm-run-all -p build:serve sass:* uglify:*",
|
|
|
|
"sass:build": "bin/build-styles",
|
|
|
|
"sass:watch": "chokidar 'src/assets/css/*.scss' -c 'npm run sass:build'",
|
|
|
|
"uglify:build": "bin/build-script",
|
|
|
|
"uglify:watch": "chokidar 'src/assets/js/*.js' -c 'npm run uglify:build'"
|
2019-01-15 00:24:51 +03:00
|
|
|
}
|
|
|
|
}
|