mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-24 02:13:43 +03:00
Replace custom code with symlink-to package
This commit is contained in:
parent
55c1ccab2a
commit
dd36c63ed7
|
@ -2355,6 +2355,12 @@
|
|||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
|
||||
"integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
|
||||
},
|
||||
"symlink-to": {
|
||||
"version": "0.0.4",
|
||||
"resolved": "https://registry.npmjs.org/symlink-to/-/symlink-to-0.0.4.tgz",
|
||||
"integrity": "sha512-l83Ta9ZYKYTK51WMWBBbSgRSIoA+utHzLoEMVSU6+ip/X5zvxXeYCe2xhL2cfeDg0wVyhpPgve6EKfauwtXY6A==",
|
||||
"dev": true
|
||||
},
|
||||
"table": {
|
||||
"version": "3.8.3",
|
||||
"resolved": "https://registry.npmjs.org/table/-/table-3.8.3.tgz",
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
"version": "0.0.19",
|
||||
"description": "Development tools for chromium extension",
|
||||
"scripts": {
|
||||
"postinstall": "node --use_strict -e \"const fs = require('fs'), path = 'node_modules/_project-root'; fs.unlink(path, ()=> fs.symlinkSync('..', path, 'dir'));\"",
|
||||
"lint": "eslint ./src/**/*.js --ignore-pattern vendor",
|
||||
"gulp": "gulp",
|
||||
"test": "mocha --recursive ./src/**/test/*",
|
||||
|
@ -15,6 +14,7 @@
|
|||
"author": "Ilya Ig. Petrov",
|
||||
"license": "GPLv3",
|
||||
"devDependencies": {
|
||||
"symlink-to": "^0.0.4",
|
||||
"chai": "^3.5.0",
|
||||
"eslint": "^3.15.0",
|
||||
"eslint-config-google": "^0.7.1",
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
'use strict';
|
||||
|
||||
const Storage = require('_project-root/tools/sinon-storage');
|
||||
const Storage = require('symlink-to/project-root/tools/sinon-storage');
|
||||
const Chai = require('chai');
|
||||
const Mocha = require('mocha');
|
||||
|
||||
const CachelessRequire = require('_project-root/tools/cacheless-require')(module);
|
||||
const CachelessRequire = require('symlink-to/project-root/tools/cacheless-require')(module);
|
||||
|
||||
Mocha.describe('window.apis.pacKitchen', function () {
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
const Chai = require('chai');
|
||||
const Mocha = require('mocha');
|
||||
|
||||
const CachelessRequire = require('_project-root/tools/cacheless-require')(module);
|
||||
const CachelessRequire = require('symlink-to/project-root/tools/cacheless-require')(module);
|
||||
|
||||
Mocha.describe('window.utils', function () {
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user