-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
59 lines (59 loc) · 1.82 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
{
"name": "@canonical/cookie-policy",
"version": "3.6.5",
"description": "A script and style sheet that displays a cookie policy notification",
"main": "build/js/module.js",
"iife": "build/js/cookie-policy.js",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/canonical/cookie-policy.git"
},
"author": "Anthony Dillon <[email protected]>",
"contributors": [
"Barry McGee <[email protected]>"
],
"license": "ISC",
"bugs": {
"url": "https://github.com/canonical/cookie-policy/issues"
},
"homepage": "https://github.com/canonical/cookie-policy#readme",
"devDependencies": {
"@babel/core": "7.20.12",
"@babel/preset-env": "7.20.2",
"@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-terser": "0.3.0",
"eslint": "8.32.0",
"npm-watch": "0.11.0",
"prettier": "2.8.3",
"pretty-quick": "3.1.3",
"rollup": "3.10.0",
"sass": "1.45.2",
"stylelint": "14.2.0",
"stylelint-config-standard": "24.0.0",
"stylelint-order": "6.0.1",
"vanilla-framework": "4.0.0"
},
"watch": {
"buildJs": "src/js/*.js",
"buildScss": {
"patterns": [
"src/sass"
],
"extensions": "scss"
}
},
"scripts": {
"clean": "rm -rf build node_modules",
"test": "npm run lint-js && npm run lint-scss",
"buildScss": "sass src/sass/cookie-policy.scss build/css/cookie-policy.css --load-path=node_modules --style=compressed",
"buildJs": "rollup -c",
"build": "npm run test && npm run buildScss && npm run buildJs",
"lint-js": "eslint src/js/**/*.js",
"lint-scss": "stylelint src/sass/**/*.scss",
"prepublishonly": "npm run build",
"preversion": "npm test",
"serve": "python3 -m http.server 8301 && echo 'Demo is running on http://0.0.0.0:8301'",
"watch": "npm-watch"
}
}