-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
67 lines (67 loc) · 2.09 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
64
65
66
67
{
"name": "@canonical/dynamic-forms",
"version": "0.0.1",
"description": "A script and style sheet that displays a cookie policy notification",
"main": "build/js/module.js",
"iife": "build/js/dynamic-forms.js",
"repository": {
"type": "git",
"url": "git+https://github.com/canonical-web-and-design/dynamic-forms.git"
},
"author": "Anthony Dillon <[email protected]>",
"contributors": [
"Carlos Wu <[email protected]>"
],
"license": "ISC",
"bugs": {
"url": "https://github.com/canonical-web-and-design/dynamic-forms/issues"
},
"homepage": "https://github.com/canonical-web-and-design/dynamic-forms#readme",
"dependencies": {
"vanilla-framework": "3.14.0"
},
"devDependencies": {
"@babel/core": "7.20.12",
"@babel/preset-env": "7.20.2",
"@rollup/plugin-node-resolve": "15.0.1",
"autoprefixer": "10.4.13",
"cssnano": "5.1.14",
"eslint": "8.31.0",
"npm-watch": "0.11.0",
"postcss": "8.4.21",
"prettier": "2.8.2",
"pretty-quick": "3.1.3",
"rollup": "3.9.1",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-sass": "1.12.17",
"rollup-plugin-terser": "7.0.2",
"sass": "1.57.1",
"stylelint": "14.16.1",
"stylelint-config-standard": "29.0.0",
"stylelint-order": "5.0.0"
},
"watch": {
"build-js": "src/js/*.js",
"build-scss": {
"patterns": [
"src/sass"
],
"extensions": "scss"
}
},
"scripts": {
"start": "yarn run build && yarn run serve",
"clean": "rm -rf build node_modules",
"test": "yarn run lint-js && yarn run lint-scss",
"build-scss": "sass src/sass/:build/css/dynamic-forms.css --load-path=node_modules --style=compressed",
"build-js": "rollup -c",
"build": "yarn run build-scss && yarn run build-js",
"lint-js": "eslint src/js/**/*.js",
"lint-scss": "stylelint src/sass/**/*.scss",
"prepublishonly": "yarn run build",
"preversion": "yarn test",
"serve": "python3 -m http.server 8302 && echo 'Demo is running on http://0.0.0.0:8302'",
"watch": "npm-watch"
}
}