-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
27 lines (27 loc) · 1.01 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"name": "@dryan-llc/mnml.js",
"version": "2.1.3",
"type": "module",
"description": "",
"main": "dist/mnml.js",
"types": "dist/mnml.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 0",
"clean": "rimraf dist",
"prebuild": "npm run clean",
"build": "tsc --project tsconfig.json",
"postbuild": "uglifyjs dist/mnml.js -o dist/mnml.min.js --compress --comments --source-map \"url=mnml.min.js.map,includeSources\" && MNML_VERSION=$(node -pe \"require('./package.json').version\") && cat dist/mnml.js | sed -E \"s/@version/@version $MNML_VERSION/g\" | tee dist/mnml.js > /dev/null && cat dist/mnml.min.js | sed -E \"s/@version/@version $MNML_VERSION/g\" | tee dist/mnml.min.js > /dev/null",
"dev": "npm run build -- --watch",
"prepublish": "npm run build"
},
"author": "dryan <dryan@users.noreply.github.com>",
"license": "MPL",
"devDependencies": {
"rimraf": "^3.0.2",
"typescript": "^4.5.5",
"uglify-js": "^3.17.4"
},
"files": [
"dist/**/*"
]
}