q2-tecton-theme 1.12.0-alpha.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/dist/q2-tecton-theme.css +1 -1228
- package/package.json +10 -7
- package/rollup.config.js +21 -0
- package/src/index.js +2 -0
- package/src/{q2-tecton-theme.css → q2-tecton-theme.scss} +237 -33
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "q2-tecton-theme",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.13.0",
|
4
4
|
"description": "Default theme for tecton",
|
5
5
|
"main": "./dist/q2-tecton-theme.css",
|
6
6
|
"publishConfig": {
|
@@ -8,15 +8,18 @@
|
|
8
8
|
"access": "public"
|
9
9
|
},
|
10
10
|
"scripts": {
|
11
|
-
"build": "
|
12
|
-
"build:dev": "
|
13
|
-
"build:local": "
|
14
|
-
"build:prod": "
|
11
|
+
"build": "npm run clean && rollup --config rollup.config.js",
|
12
|
+
"build:dev": "npm run build",
|
13
|
+
"build:local": "npm run clean && rollup --config rollup.config.js -w",
|
14
|
+
"build:prod": "npm run build",
|
15
|
+
"clean": "rm -rf ./dist"
|
15
16
|
},
|
16
17
|
"author": "Q2 Tecton Team",
|
17
18
|
"license": "ISC",
|
18
19
|
"dependencies": {
|
19
|
-
"
|
20
|
+
"rollup": "^2.74.1",
|
21
|
+
"rollup-plugin-scss": "^3.0.0",
|
22
|
+
"rollup-plugin-serve": "^1.1.0"
|
20
23
|
},
|
21
|
-
"gitHead": "
|
24
|
+
"gitHead": "bf740931d97f900acd7e110602f11d77742201e9"
|
22
25
|
}
|
package/rollup.config.js
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
import scss from "rollup-plugin-scss";
|
2
|
+
import serve from "rollup-plugin-serve";
|
3
|
+
|
4
|
+
const isWatching = process.env.ROLLUP_WATCH;
|
5
|
+
export default {
|
6
|
+
input: "src/index.js",
|
7
|
+
output: {
|
8
|
+
dir: "dist"
|
9
|
+
},
|
10
|
+
plugins: [
|
11
|
+
scss({
|
12
|
+
output: "dist/q2-tecton-theme.css",
|
13
|
+
outputStyle: "compressed"
|
14
|
+
}),
|
15
|
+
isWatching &&
|
16
|
+
serve({
|
17
|
+
port: 2020,
|
18
|
+
contentBase: "dist"
|
19
|
+
})
|
20
|
+
]
|
21
|
+
};
|
package/src/index.js
ADDED