diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..29ccb56 --- /dev/null +++ b/.npmignore @@ -0,0 +1,5 @@ +/* +!/dist +!LICENSE.txt +!README.md +!package.json \ No newline at end of file diff --git a/package.json b/package.json index e66e40e..d1e5288 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,30 @@ { "name": "@antv/expr", - "version": "0.0.1", - "description": "", + "version": "1.0.0", + "description": "A secure, high-performance expression evaluator for dynamic chart rendering", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", + "files": ["dist", "LICENSE", "README.md", "package.json"], "scripts": { "build": "rollup -c", "test": "vitest run --coverage", - "benchmark": "vitest bench" + "benchmark": "vitest bench", + "prepublishOnly": "npm run build" + }, + "keywords": [ + "expression", + "evaluator", + "parser", + "secure", + "antv", + "chart", + "expr" + ], + "repository": { + "type": "git", + "url": "https://github.com/antvis/expr" }, - "keywords": [], - "author": "", "license": "MIT", "devDependencies": { "@biomejs/biome": "1.9.4",