@paodingai/pdflux-wasm-trial 1.3.51 → 1.3.53

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/package.json CHANGED
@@ -1,6 +1,18 @@
1
1
  {
2
2
  "name": "@paodingai/pdflux-wasm-trial",
3
- "version": "1.3.51",
3
+ "version": "1.3.53",
4
+ "scripts": {
5
+ "build": "rollup index.js --config rollup.conf.js",
6
+ "build:debug": "rollup index.js --config rollup.conf.js --environment DEBUG",
7
+ "build:public": "rollup index.js --config rollup.conf.js --environment PUBLIC_RELEASE",
8
+ "test": "yarn run build && jest --testTimeout=60000",
9
+ "prerelease": "yarn run build && node dist/exportFontList.js --token=$npm_config_token",
10
+ "release": "npm publish",
11
+ "update:lib": "node update.js && npx prettier --write ./lib/node/pdflux.js",
12
+ "update:libDebug": "node update.js --debug && npx prettier --write ./lib/node/pdflux.js",
13
+ "lint": "eslint --cache --fix",
14
+ "prepare": "husky install"
15
+ },
4
16
  "main": "dist/index.js",
5
17
  "files": [
6
18
  "dist",
@@ -43,6 +55,9 @@
43
55
  "rollup-plugin-terser": "^7.0.2",
44
56
  "terser": "^5.10.0"
45
57
  },
58
+ "publishConfig": {
59
+ "registry": "https://registry.npmjs.org"
60
+ },
46
61
  "lint-staged": {
47
62
  "*.{js,ts}": [
48
63
  "yarn lint"
package/README.md DELETED
@@ -1,12 +0,0 @@
1
- # Publish new version
2
- ```bash
3
- # use custom script to release new version
4
- # ask someone for a valid token if you don't know
5
-
6
- npm run release --token=xxx
7
- ```
8
-
9
- ### Run tests
10
- ```bash
11
- yarn test --token=xxx
12
- ```