-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
63 lines (63 loc) · 2.24 KB
/
package.json
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
{
"name": "@canonical/discourse-rad-parser",
"version": "1.0.2",
"description": "A script that parses RAD elements generated by Discourse and makes them dynamic.",
"main": "build/js/module.js",
"iife": "build/js/discourse-rad-parser.js",
"repository": {
"type": "git",
"url": "git+https://github.com/canonical-web-and-design/discourse-rad-parser.git"
},
"author": "Albert Kolozsvari <albert.kolozsvari@canonical.com>",
"contributors": [],
"license": "ISC",
"bugs": {
"url": "https://github.com/canonical-web-and-design/discourse-rad-parser/issues"
},
"homepage": "https://github.com/canonical-web-and-design/discourse-rad-parser#readme",
"devDependencies": {
"@babel/core": "7.11.5",
"@babel/preset-env": "7.11.5",
"eslint": "7.8.1",
"npm-watch": "0.7.0",
"postcss": "8.4.31",
"postcss-cli": "8.3.1",
"prettier": "2.1.1",
"rollup": "2.79.2",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-terser": "7.0.1",
"sass": "1.27.0",
"stylelint": "13.9.0",
"stylelint-config-prettier": "8.0.2",
"stylelint-config-standard": "20.0.0",
"stylelint-order": "4.1.0",
"stylelint-prettier": "1.1.2",
"stylelint-scss": "3.19.0",
"vanilla-framework": "^2.32.0"
},
"watch": {
"buildJs": "src/js/*.js",
"buildScss": {
"patterns": [
"src/sass"
],
"extensions": "scss"
}
},
"scripts": {
"clean": "rm -rf build",
"buildScss": "sass ./src/sass/discourse-rad-parser.scss:./build/css/discourse-rad-parser.css --load-path=node_modules --style=compressed && postcss --use autoprefixer --replace 'build/css/**/*.css' --no-map",
"buildJs": "rollup -c",
"build": "npm run clean && npm run test && npm run buildScss && npm run buildJs",
"lint-js": "eslint src/js/**/*.js",
"lint-scss": "stylelint src/sass/**/*.scss",
"lint": "yarn run lint-scss && yarn run lint-js",
"prettier": "prettier -c 'src/**/*.{scss,js}'",
"test": "yarn run lint-js && yarn run lint-scss && yarn run prettier",
"format": "prettier -w 'src/**/*.{scss,js}'",
"prepublishonly": "npm run build",
"preversion": "npm test",
"serve": "python3 -m http.server 8312 && echo 'Demo is running on http://0.0.0.0:8312'",
"watch": "npm-watch"
}
}