|
1 | 1 | { |
2 | 2 | "name": "@pardnchiu/nanojson", |
3 | | - "version": "0.3.3", |
| 3 | + "version": "0.3.4", |
4 | 4 | "description": "NanoJSON is a lightweight JSON editing library built on pure JavaScript and native APIs. Can be easily embedded into websites.", |
5 | 5 | "main": "dist/NanoJSON.js", |
6 | 6 | "module": "dist/NanoJSON.esm.js", |
7 | 7 | "types": "src/interface.ts", |
8 | 8 | "scripts": { |
9 | | - "build:debug": "npx terser src/*.js src/function/*.js src/model/*.js -o dist/NanoJSON.debug.js", |
10 | | - "build:min": "npx terser src/*.js src/function/*.js src/model/*.js -c -m -o dist/NanoJSON.js --config-file terser.config.json --name-cache terser.cache.json", |
11 | | - "build:esm": "npx terser src/*.js src/function/*.js src/model/*.js -c -m -o dist/NanoJSON.esm.js --config-file terser.config.json --name-cache terser.cache.json && echo 'export const JSONEditor = window.JSONEditor;' >> dist/NanoJSON.esm.js", |
| 9 | + "build:debug": "npx terser src/*.js src/**/*.js -o dist/NanoJSON.debug.js", |
| 10 | + "build:min": "npx terser src/*.js src/**/*.js -c -m -o dist/NanoJSON.js --config-file terser.config.json --name-cache terser.cache.json", |
| 11 | + "build:esm": "npx terser src/*.js src/**/*.js -c -m -o dist/NanoJSON.esm.js --config-file terser.config.json --name-cache terser.cache.json && echo 'export const JSONEditor = window.JSONEditor;' >> dist/NanoJSON.esm.js", |
12 | 12 | "build:once": "npm-run-all build:debug build:min build:esm", |
13 | | - "build": "chokidar src/*.js src/function/*.js src/model/*.js -c 'npm run build:once'", |
| 13 | + "build": "chokidar src/*.js src/**/*.js src/**/**/*.js -c 'npm run build:once'", |
14 | 14 | "sass:library": "sass src/sass:dist/ -w --style compressed --no-source-map", |
15 | 15 | "sass:index": "sass static/sass/:static/css/ -w --style compressed --no-source-map", |
16 | 16 | "sass": "npm-run-all sass:library sass:index" |
|
0 commit comments