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": {
|
2024-05-31 21:01:28 +03:00
|
|
|
"dompurify": "3.1.5",
|
2022-07-19 22:05:49 +03:00
|
|
|
"foundation-sites": "6.7.5",
|
2024-06-19 19:09:59 +03:00
|
|
|
"glob": "10.4.2",
|
2019-06-06 20:33:51 +03:00
|
|
|
"hamburgers": "1.1.3",
|
2023-09-25 11:24:33 +03:00
|
|
|
"jquery": "3.7.1",
|
2024-06-17 22:14:48 +03:00
|
|
|
"liquidjs": "10.14.0",
|
2020-08-25 16:45:53 +03:00
|
|
|
"lunr": "2.3.9",
|
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": {
|
2024-01-16 14:35:40 +03:00
|
|
|
"@11ty/eleventy": "2.0.1",
|
|
|
|
"@11ty/eleventy-plugin-syntaxhighlight": "5.0.0",
|
2024-06-17 10:18:37 +03:00
|
|
|
"acorn": "8.12.0",
|
2024-06-17 10:22:31 +03:00
|
|
|
"acorn-walk": "8.3.3",
|
2021-08-06 15:34:23 +03:00
|
|
|
"chalk": "4.1.2",
|
2021-10-04 12:56:14 +03:00
|
|
|
"chokidar-cli": "3.0.0",
|
2020-07-17 23:22:48 +03:00
|
|
|
"eleventy-xml-plugin": "0.1.0",
|
2024-02-27 12:21:45 +03:00
|
|
|
"eslint": "8.57.0",
|
2023-12-05 15:13:37 +03:00
|
|
|
"eslint-config-prettier": "9.1.0",
|
2024-01-30 16:46:06 +03:00
|
|
|
"eslint-plugin-prettier": "5.1.3",
|
2023-12-05 15:16:53 +03:00
|
|
|
"fs-extra": "11.2.0",
|
2021-05-01 07:00:41 +03:00
|
|
|
"gray-matter": "4.0.3",
|
2023-09-25 10:42:23 +03:00
|
|
|
"jest": "29.7.0",
|
2023-09-25 10:47:46 +03:00
|
|
|
"jest-environment-jsdom": "29.7.0",
|
2024-03-19 20:05:30 +03:00
|
|
|
"markdown-it": "14.1.0",
|
2020-07-23 13:18:23 +03:00
|
|
|
"markdown-it-container": "3.0.0",
|
2022-01-23 17:39:21 +03:00
|
|
|
"node-fetch": "2.6.7",
|
2024-06-03 12:28:49 +03:00
|
|
|
"node-sass": "9.0.0",
|
2020-07-17 23:22:48 +03:00
|
|
|
"npm-run-all": "4.1.5",
|
2024-07-02 11:39:47 +03:00
|
|
|
"postcss": "8.4.39",
|
2023-10-30 14:07:01 +03:00
|
|
|
"postcss-scss": "4.0.9",
|
2021-03-26 20:15:08 +03:00
|
|
|
"postcss-url": "10.1.3",
|
2022-03-04 12:11:11 +03:00
|
|
|
"posthtml": "0.16.6",
|
2020-07-17 23:22:48 +03:00
|
|
|
"posthtml-beautify": "0.7.0",
|
2021-01-29 11:12:43 +03:00
|
|
|
"posthtml-postcss": "0.5.0",
|
2020-07-17 23:22:48 +03:00
|
|
|
"posthtml-urls": "1.0.0",
|
2024-06-11 22:09:24 +03:00
|
|
|
"prettier": "3.3.2",
|
2024-01-30 17:14:27 +03:00
|
|
|
"pretty-quick": "4.0.0",
|
2022-08-30 16:35:13 +03:00
|
|
|
"prismjs": "1.29.0",
|
2024-05-14 11:40:21 +03:00
|
|
|
"rimraf": "5.0.7",
|
2024-01-30 16:47:00 +03:00
|
|
|
"serialize-javascript": "6.0.2",
|
2023-03-29 21:15:58 +03:00
|
|
|
"slugify": "1.6.6",
|
2023-01-05 16:29:32 +03:00
|
|
|
"stylelint": "14.16.1",
|
2022-11-10 20:51:08 +03:00
|
|
|
"stylelint-config-prettier-scss": "0.0.1",
|
|
|
|
"stylelint-config-standard": "29.0.0",
|
|
|
|
"stylelint-config-standard-scss": "6.1.0",
|
2024-06-07 14:46:49 +03:00
|
|
|
"terser": "5.31.1",
|
2022-03-01 23:46:53 +03:00
|
|
|
"url-parse": "1.5.10"
|
2019-02-05 21:26:13 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
2019-02-05 22:23:04 +03:00
|
|
|
"lint": "eslint .",
|
2022-02-03 01:09:45 +03:00
|
|
|
"stylelint": "stylelint **/*.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",
|
2020-07-28 22:53:11 +03:00
|
|
|
"test-ci": "npm run prettier-ci && npm run lint && npm run stylelint && jest",
|
2020-08-11 12:39:46 +03:00
|
|
|
"test": "npm run clean-tests && jest --watch",
|
2020-07-17 21:01:13 +03:00
|
|
|
"clean": "rimraf './build/' './dist/'",
|
|
|
|
"clean-dist": "rimraf './dist/'",
|
2020-08-11 12:39:46 +03:00
|
|
|
"clean-tests": "rimraf './tests/fixtures/dist/**/*!(.gitkeep)'",
|
2020-07-22 11:45:01 +03:00
|
|
|
"build": "npm run clean && eleventy --config=./eleventy.config.js && npm run sass:build && npm run uglify:build",
|
2020-08-11 12:39:46 +03:00
|
|
|
"build:unpublished": "ELEVENTY_ENV=production BUILD_UNPUBLISHED=1 npm run build && bin/asset-pipeline",
|
|
|
|
"build:production": "ELEVENTY_ENV=production npm run build && bin/asset-pipeline",
|
2020-07-17 21:01:13 +03:00
|
|
|
"build:serve": "eleventy --serve --port=8081 --config=./eleventy.config.js",
|
|
|
|
"build:debug": "DEBUG=Eleventy* eleventy --serve --port=8081 --config=./eleventy.config.js",
|
2020-07-20 21:35:25 +03:00
|
|
|
"start": "npm run clean && BUILD_UNPUBLISHED=1 npm-run-all -p build:serve sass:* uglify:*",
|
2020-07-22 11:45:01 +03:00
|
|
|
"start:debug": "npm run clean && BUILD_UNPUBLISHED=1 npm-run-all -p build:debug sass:* uglify:*",
|
2020-07-17 21:01:13 +03:00
|
|
|
"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'"
|
2020-08-11 12:39:46 +03:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"testRegex": ".*?\\.test\\.js$",
|
|
|
|
"watchPathIgnorePatterns": [
|
|
|
|
"<rootDir>/tests/fixtures/.*?"
|
|
|
|
]
|
2019-01-15 00:24:51 +03:00
|
|
|
}
|
|
|
|
}
|