jsep
Version:
a tiny JavaScript expression parser
154 lines (153 loc) • 3.53 kB
JSON
{
"name": "jsep",
"version": "1.4.0",
"description": "a tiny JavaScript expression parser",
"author": "Stephen Oney <swloney@gmail.com> (http://from.so/)",
"maintainers": [
"Eric Smekens (https://github.com/EricSmekens)",
"Lea Verou (https://github.com/LeaVerou)"
],
"homepage": "https://ericsmekens.github.io/jsep/",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/EricSmekens/jsep.git"
},
"type": "module",
"main": "./dist/cjs/jsep.cjs.js",
"module": "./dist/jsep.js",
"exports": {
".": {
"types": "./typings/tsd.d.ts",
"require": "./dist/cjs/jsep.cjs.js",
"default": "./dist/jsep.js"
}
},
"typings": "typings/tsd.d.ts",
"private": false,
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-angular": "^13.1.0",
"@rollup/plugin-replace": "^2.4.2",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^9.0.0",
"benchmark": "^2.1.4",
"docco": "^0.9.1",
"eslint": "^7.23.0",
"http-server": "^14.1.1",
"husky": "^7.0.0",
"node-qunit-puppeteer": "^2.1.2",
"puppeteer": "^19.9.0",
"rollup": "^2.44.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-terser": "^7.0.2",
"semantic-release-monorepo": "^7.0.5",
"semantic-release-plus": "^18.4.1"
},
"engines": {
"node": ">= 10.16.0"
},
"directories": {
"test": "test"
},
"release": {
"commitPaths": [
"src/",
"packages/ternary/src/",
"types",
"typings/",
".npmignore",
"package*.json",
"rollup*.js"
],
"branches": [
"master",
{
"name": "alpha",
"prerelease": true
},
{
"name": "beta",
"prerelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"BREAKING"
]
}
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "angular",
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"BREAKING"
]
},
"writerOpts": {
"commitsSort": [
"scope",
"subject"
]
}
}
],
"@semantic-release/changelog",
[
"@semantic-release/exec",
{
"prepareCmd": "NEXT_VERSION=${nextRelease.version} pnpm run build"
}
],
[
"@semantic-release/npm",
{
"tarballDir": "./"
}
],
[
"@semantic-release/git",
{
"message": "build: ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "./*.tgz",
"label": "build"
}
]
}
]
]
},
"scripts": {
"default": "npm run lint && npm run build:all && npm run test:all && npm run docco",
"build": "npx rollup -c && cp package-cjs.json dist/cjs/package.json",
"build:watch": "npx rollup -c --watch",
"build:all": "pnpm run build -r",
"test": "npx http-server -p 49649 --silent & npx node-qunit-puppeteer http://localhost:49649/test/unit_tests.html",
"test:all": "npx http-server -p 49649 --silent & pnpm run test -r --workspace-concurrency=1",
"test:performance": "node test/performance.test.js",
"docco": "npx docco src/jsep.js --css=src/docco.css --output=annotated_source/",
"lint": "npx eslint src/**/*.js test/*.js test/packages/**/*.js packages/**/*.js",
"prepare": "husky install",
"release": "./release.sh"
}
}