@onereach/styles 2.8.4-beta.587.0 → 2.8.4

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +5 -4
package/README.md CHANGED
@@ -8,14 +8,14 @@ $ npm install @onereach/styles --save
8
8
 
9
9
  ## 🛠️ Develop
10
10
  ```sh
11
- $ npm run dev
11
+ $ pnpm dev
12
12
  ```
13
13
 
14
14
  ## 🛠️ How to generate tokens?
15
15
  1. Modified `src/mock/design-tokens.json`
16
16
  2. Run:
17
17
  ```shell
18
- $ npm run build
18
+ $ pnpm build
19
19
  ```
20
20
  #### Will update:
21
21
  **SCSS**: `src/variables/tokens/design-tokens.scss`
@@ -138,7 +138,7 @@ $ npm run build
138
138
  ```
139
139
  2. Generate CSS variables. _**Run:**_
140
140
  ```shell
141
- $ npm run build
141
+ $ pnpm build
142
142
  ```
143
143
  3. How to change theme. Example in OrThemeSwitcherExample.vue
144
144
  ## 🚀 Usage in JS:
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@onereach/styles",
3
- "version": "2.8.4-beta.587.0",
3
+ "version": "2.8.4",
4
4
  "description": "Styles for or-ui-next",
5
5
  "main": "./dist/index.min.css",
6
6
  "unpkg": "./dist/index.css",
7
7
  "style": "./dist/index.min.css",
8
8
  "scripts": {
9
- "dev": "npm run build:scss -- --watch",
9
+ "dev": "pnpm build:scss -- --watch",
10
10
  "build": "npm-run-all build:tokens build:scss build:autoprefixer build:cleancss",
11
11
  "build:scss": "sass --embed-source-map ./src/main.scss dist/index.css",
12
12
  "build:cleancss": "cleancss -o dist/index.min.css dist/index.css",
13
13
  "build:autoprefixer": "npx postcss --use autoprefixer --map false --output dist/index.css dist/index.css",
14
- "build:tokens": "npm run json-to-scss",
14
+ "build:tokens": "pnpm json-to-scss",
15
15
  "lint": "stylelint '**/*.scss'",
16
16
  "fix": "stylelint --fix '**/*.scss'",
17
17
  "clean": "rimraf dist",
@@ -32,5 +32,6 @@
32
32
  "postcss-cli": "^8.3.1",
33
33
  "sass": "^1.35.1",
34
34
  "stylelint": "^13.13.1"
35
- }
35
+ },
36
+ "gitHead": "a3e0ac1167ce327b4b16537e0f07f808afc9cfbd"
36
37
  }