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-12-25 20:04:45 +03:00
|
|
|
"dompurify": "2.2.6",
|
2020-04-27 14:30:14 +03:00
|
|
|
"foundation-sites": "6.6.3",
|
2020-07-28 22:53:11 +03:00
|
|
|
"glob": "7.1.6",
|
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-12-25 19:05:07 +03:00
|
|
|
"liquidjs": "9.19.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": {
|
2020-10-29 23:24:46 +03:00
|
|
|
"@11ty/eleventy": "0.11.1",
|
2021-01-18 01:06:48 +03:00
|
|
|
"@11ty/eleventy-plugin-syntaxhighlight": "3.0.6",
|
2020-07-17 23:22:48 +03:00
|
|
|
"chalk": "4.1.0",
|
|
|
|
"chokidar-cli": "2.1.0",
|
|
|
|
"clean-css": "4.2.3",
|
|
|
|
"eleventy-xml-plugin": "0.1.0",
|
2021-01-23 03:46:48 +03:00
|
|
|
"eslint": "7.18.0",
|
2020-11-03 21:04:52 +03:00
|
|
|
"eslint-config-prettier": "6.15.0",
|
2021-01-11 23:02:57 +03:00
|
|
|
"eslint-plugin-prettier": "3.3.1",
|
2020-07-17 23:22:48 +03:00
|
|
|
"fs-extra": "9.0.1",
|
2020-07-28 22:53:11 +03:00
|
|
|
"gray-matter": "4.0.2",
|
2020-11-11 10:09:19 +03:00
|
|
|
"jest": "26.6.3",
|
2020-09-21 13:04:16 +03:00
|
|
|
"markdown-it": "11.0.1",
|
2020-07-23 13:18:23 +03:00
|
|
|
"markdown-it-container": "3.0.0",
|
2020-09-14 13:09:59 +03:00
|
|
|
"node-fetch": "2.6.1",
|
2020-12-08 14:12:08 +03:00
|
|
|
"node-sass": "5.0.0",
|
2020-07-17 23:22:48 +03:00
|
|
|
"npm-run-all": "4.1.5",
|
2020-10-06 02:04:50 +03:00
|
|
|
"postcss": "7.0.35",
|
2020-07-17 23:22:48 +03:00
|
|
|
"postcss-url": "8.0.0",
|
2020-12-03 16:05:59 +03:00
|
|
|
"posthtml": "0.15.1",
|
2020-07-17 23:22:48 +03:00
|
|
|
"posthtml-beautify": "0.7.0",
|
2020-11-19 13:44:03 +03:00
|
|
|
"posthtml-postcss": "0.4.0",
|
2020-07-17 23:22:48 +03:00
|
|
|
"posthtml-urls": "1.0.0",
|
2020-12-05 05:03:53 +03:00
|
|
|
"prettier": "2.2.1",
|
2020-10-21 06:05:28 +03:00
|
|
|
"pretty-quick": "3.1.0",
|
2021-01-07 23:03:08 +03:00
|
|
|
"prismjs": "1.23.0",
|
2020-02-20 23:03:52 +03:00
|
|
|
"rimraf": "3.0.2",
|
2020-09-22 17:31:44 +03:00
|
|
|
"serialize-javascript": "5.0.1",
|
2020-11-07 19:04:34 +03:00
|
|
|
"slugify": "1.4.6",
|
2020-11-24 20:05:15 +03:00
|
|
|
"stylelint": "13.8.0",
|
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-08-04 19:44:28 +03:00
|
|
|
"terser": "4.8.0",
|
2020-07-17 23:22:48 +03:00
|
|
|
"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",
|
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
|
|
|
}
|
|
|
|
}
|