184 lines
4.8 KiB
JSON
184 lines
4.8 KiB
JSON
|
{
|
||
|
"_from": "astring@^1.0.2",
|
||
|
"_id": "astring@1.4.3",
|
||
|
"_inBundle": false,
|
||
|
"_integrity": "sha512-yJlJU/bmN820vL+cbWShu2YQU87dBP5V7BH2N4wODapRv27A2dZtUD0LgjP9lZENvPe9XRoSyWx+pZR6qKqNBw==",
|
||
|
"_location": "/astring",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"type": "range",
|
||
|
"registry": true,
|
||
|
"raw": "astring@^1.0.2",
|
||
|
"name": "astring",
|
||
|
"escapedName": "astring",
|
||
|
"rawSpec": "^1.0.2",
|
||
|
"saveSpec": null,
|
||
|
"fetchSpec": "^1.0.2"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/@jscad/openjscad"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/astring/-/astring-1.4.3.tgz",
|
||
|
"_shasum": "b99d4b0349bc7b28934bb9f03f86ec34d69c3a09",
|
||
|
"_spec": "astring@^1.0.2",
|
||
|
"_where": "C:\\Users\\tomate\\node_modules\\@jscad\\openjscad",
|
||
|
"author": {
|
||
|
"name": "David Bonnet",
|
||
|
"email": "david@bonnet.cc"
|
||
|
},
|
||
|
"ava": {
|
||
|
"babel": false,
|
||
|
"compileEnhancements": false,
|
||
|
"files": [
|
||
|
"src/**/tests/index.js"
|
||
|
],
|
||
|
"require": [
|
||
|
"esm"
|
||
|
]
|
||
|
},
|
||
|
"bin": {
|
||
|
"astring": "bin/astring"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/davidbonnet/astring/issues"
|
||
|
},
|
||
|
"bundleDependencies": false,
|
||
|
"deprecated": false,
|
||
|
"description": "JavaScript code generator from an ESTree-compliant AST.",
|
||
|
"devDependencies": {
|
||
|
"@babel/cli": "^7.6.4",
|
||
|
"@babel/core": "^7.6.4",
|
||
|
"@babel/generator": "^7.6.4",
|
||
|
"@babel/parser": "^7.6.4",
|
||
|
"@babel/preset-env": "^7.6.3",
|
||
|
"acorn": "^6.3.0",
|
||
|
"astravel": "^0.5.0",
|
||
|
"ava": "^2.4.0",
|
||
|
"babel-preset-minify": "^0.5.1",
|
||
|
"benchmark": "^2.1.4",
|
||
|
"buble": "^0.19.8",
|
||
|
"cross-env": "^6.0.3",
|
||
|
"escodegen": "^1.12.0",
|
||
|
"eslint": "^6.5.1",
|
||
|
"eslint-config-prettier": "^6.4.0",
|
||
|
"eslint-plugin-import": "^2.18.0",
|
||
|
"esm": "^3.2.25",
|
||
|
"glob": "^7.1.4",
|
||
|
"husky": "^3.0.9",
|
||
|
"lodash": "^4.17.14",
|
||
|
"meriyah": "^1.8.2",
|
||
|
"normalize-newline": "^3.0.0",
|
||
|
"nyc": "^14.1.1",
|
||
|
"prettier": "^1.18.2",
|
||
|
"standard-version": "^7.0.0",
|
||
|
"sucrase": "^3.10.1",
|
||
|
"uglify-js": "^3.6.1"
|
||
|
},
|
||
|
"eslintConfig": {
|
||
|
"plugins": [
|
||
|
"import"
|
||
|
],
|
||
|
"extends": [
|
||
|
"eslint:recommended",
|
||
|
"plugin:import/errors",
|
||
|
"prettier"
|
||
|
],
|
||
|
"env": {
|
||
|
"es6": true
|
||
|
},
|
||
|
"parserOptions": {
|
||
|
"ecmaVersion": 10,
|
||
|
"sourceType": "module"
|
||
|
},
|
||
|
"globals": {
|
||
|
"console": true,
|
||
|
"global": true,
|
||
|
"module": true,
|
||
|
"process": true,
|
||
|
"require": true,
|
||
|
"window": true,
|
||
|
"__dirname": true
|
||
|
},
|
||
|
"overrides": [
|
||
|
{
|
||
|
"files": [
|
||
|
"src/tests/fixtures/**/*.js"
|
||
|
],
|
||
|
"rules": {
|
||
|
"no-unused-vars": 0,
|
||
|
"no-undef": 0,
|
||
|
"no-var": 0,
|
||
|
"no-empty": 0,
|
||
|
"no-unused-labels": 0,
|
||
|
"no-cond-assign": 0,
|
||
|
"no-constant-condition": 0,
|
||
|
"constructor-super": 0,
|
||
|
"no-unreachable": 0,
|
||
|
"no-unsafe-negation": 0,
|
||
|
"getter-return": 0,
|
||
|
"no-irregular-whitespace": 0,
|
||
|
"no-redeclare": 0,
|
||
|
"no-dupe-keys": 0,
|
||
|
"no-duplicate-case": 0,
|
||
|
"no-useless-escape": 0,
|
||
|
"no-control-regex": 0,
|
||
|
"no-sparse-arrays": 0,
|
||
|
"no-debugger": 0
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"esm": "auto",
|
||
|
"homepage": "https://github.com/davidbonnet/astring#readme",
|
||
|
"keywords": [
|
||
|
"ast",
|
||
|
"codegen",
|
||
|
"code generator",
|
||
|
"estree",
|
||
|
"astravel"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"main": "./dist/astring.js",
|
||
|
"module": "./src/astring.js",
|
||
|
"name": "astring",
|
||
|
"nyc": {
|
||
|
"exclude": [
|
||
|
"src/**/tests/*.js"
|
||
|
],
|
||
|
"reporter": [
|
||
|
"html",
|
||
|
"lcov",
|
||
|
"text"
|
||
|
]
|
||
|
},
|
||
|
"prettier": {
|
||
|
"printWidth": 80,
|
||
|
"tabWidth": 2,
|
||
|
"useTabs": false,
|
||
|
"semi": false,
|
||
|
"singleQuote": true,
|
||
|
"trailingComma": "all",
|
||
|
"bracketSpacing": true
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/davidbonnet/astring.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"benchmark": "node --require esm ./src/tests/benchmark.js",
|
||
|
"build": "babel src/astring.js --out-file dist/astring.js --source-maps --no-comments",
|
||
|
"build:demo": "npm run build:minified && cp dist/astring.min.* docs/demo/",
|
||
|
"build:minified": "cross-env BABEL_MODE=minified babel src/astring.js --out-file dist/astring.min.js --source-maps --no-comments",
|
||
|
"build:watch": "babel src/astring.js --out-file dist/astring.js --source-maps --no-comments --watch",
|
||
|
"deploy": "git push --follow-tags origin master && npm publish",
|
||
|
"prepare": "npm run build",
|
||
|
"prepush": "npm test",
|
||
|
"prettier": "prettier --write \"{src,scripts}/**/*.js\" \"bin/astring\"",
|
||
|
"release": "standard-version",
|
||
|
"test": "eslint src && prettier --list-different \"{src,scripts}/**/*.js\" \"bin/astring\" && npm run build:minified && nyc ava",
|
||
|
"test:scripts": "npm run test:scripts:build && tap test/_scripts.js",
|
||
|
"test:watch": "ava --watch"
|
||
|
},
|
||
|
"version": "1.4.3"
|
||
|
}
|