Files
monorepo/packages/message/package.json
2023-12-20 20:35:07 -08:00

24 lines
1.1 KiB
JSON

{
"name": "@autismjs/message",
"version": "0.2.1",
"description": "Message Serialization Format for Autism",
"main": "build/index.js",
"types": "build/index.d.ts",
"browser": "build/browser.js",
"scripts": {
"test:coverage": "NODE_ENV=development TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' nyc --reporter=lcov --require ts-node/register tape './src/**/*.test.ts' | tap-spec; nyc report ---reporter=text",
"test": "NODE_ENV=development TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' tape -r ts-node/register './src/**/*.test.ts' | tap-spec",
"build:types": "tsc --project tsconfig.compile.json",
"build:src": "webpack --config webpack.config.js",
"build:web": "webpack --config webpack.browser.js",
"build": "NODE_ENV=production concurrently --kill-others-on-fail npm:build:types npm:build:src npm:build:web",
"dev": "NODE_ENV=development webpack-dev-server --config webpack.config.js --hot",
"eslint": "eslint . --fix",
"tsc": "tsc --noEmit",
"lint": "concurrently npm:tsc npm:eslint"
},
"files": ["build/", "src/", "readme.md"],
"author": "0xtsukino",
"license": "MIT"
}