zss-engine 0.2.25 → 0.2.27

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.
@@ -14,7 +14,7 @@ const build = async (styleSheet, filePath, global) => {
14
14
  const cssData = fs.readFileSync(filePath, 'utf-8');
15
15
  if (!cssData.includes(styleSheet)) {
16
16
  fs.appendFileSync(filePath, styleSheet, 'utf-8');
17
- if (process.argv.includes('--log'))
17
+ if (process.argv.includes('--view'))
18
18
  console.log(message + styleSheet);
19
19
  }
20
20
  }
@@ -11,7 +11,7 @@ export const build = async (styleSheet, filePath, global) => {
11
11
  const cssData = fs.readFileSync(filePath, 'utf-8');
12
12
  if (!cssData.includes(styleSheet)) {
13
13
  fs.appendFileSync(filePath, styleSheet, 'utf-8');
14
- if (process.argv.includes('--log'))
14
+ if (process.argv.includes('--view'))
15
15
  console.log(message + styleSheet);
16
16
  }
17
17
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "zss-engine",
3
- "version": "0.2.25",
4
- "description": "Zero-runtime Style Sheet Engine",
3
+ "version": "0.2.27",
4
+ "description": "Zero-runtime StyleSheet Engine",
5
5
  "keywords": [
6
6
  "zero-runtime",
7
- "style-sheet",
8
- "runtime",
7
+ "stylesheet",
8
+ "engine",
9
9
  "css-in-js"
10
10
  ],
11
11
  "author": "Refirst",
@@ -30,8 +30,7 @@
30
30
  "scripts": {
31
31
  "build": "rimraf dist types && pnpm esm && pnpm cjs",
32
32
  "cjs": "tsc --project tsconfig.cjs.json",
33
- "esm": "tsc --project tsconfig.esm.json",
34
- "test": "jest"
33
+ "esm": "tsc --project tsconfig.esm.json"
35
34
  },
36
35
  "dependencies": {
37
36
  "csstype": "3.1.3"