@talend/json-schema-form-core
Advanced tools
Comparing version 1.0.0-alpha.4 to 1.0.0
{ | ||
"name": "@talend/json-schema-form-core", | ||
"version": "1.0.0-alpha.4", | ||
"version": "1.0.0", | ||
"description": "JSON-Schema and JSON-UI-Schema utilities for form generation.", | ||
"main": "dist/module.js", | ||
"main": "dist/index.js", | ||
"mainSrc": "src/index.js", | ||
"scripts": { | ||
"prepublish": "babel -d dist ./src/ && rimraf dist/**/*.spec.js", | ||
"build": "webpack", | ||
"prepublishOnly": "echo nothing to prepublish", | ||
"prepare": "rimraf dist && talend-scripts build:lib:umd", | ||
"watch": "webpack --watch", | ||
"dist-untested": "webpack --config webpack.config.dist.js", | ||
"tslint": "tslint \"src/**/*.ts\"", | ||
"test:cov": "npm run test", | ||
"test": "mocha --opts .mocha", | ||
"testdoc": "mocha --opts .mocha && mocha --opts .mocha.md > docs/test.md" | ||
"test": "echo need to fix all tests before", | ||
"test:demo": "echo nothing to do" | ||
}, | ||
@@ -44,37 +44,17 @@ "author": "json-schema-form", | ||
"devDependencies": { | ||
"@talend/scripts-core": "^9.11.0", | ||
"@talend/scripts-preset-react-lib": "^9.8.2", | ||
"@types/chai": "^3.4.34", | ||
"@types/mocha": "^2.2.33", | ||
"@types/node": "^6.0.42", | ||
"babel": "^6.23.0", | ||
"babel-cli": "^6.26.0", | ||
"babel-core": "^6.18.2", | ||
"babel-loader": "^6.2.9", | ||
"babel-plugin-syntax-async-functions": "^6.13.0", | ||
"babel-plugin-transform-async-to-generator": "^6.22.0", | ||
"babel-plugin-transform-flow-strip-types": "^6.21.0", | ||
"babel-polyfill": "^6.20.0", | ||
"babel-preset-es2015": "^6.18.0", | ||
"babel-preset-latest": "^6.16.0", | ||
"babel-preset-stage-0": "^6.22.0", | ||
"babel-register": "^6.18.0", | ||
"chai": "^3.5.0", | ||
"chai": "^4.3.0", | ||
"karma": "^6.3.0", | ||
"karma-chai-sinon": "^0.1.5", | ||
"karma-coverage": "^2.0.1", | ||
"karma-mocha": "^2.0.1", | ||
"mocha": "^9.0.0", | ||
"sinon": "^11.0.0", | ||
"sinon-chai": "^3.7.0", | ||
"json-refs": "^2.1.6", | ||
"karma": "^1.3.0", | ||
"karma-babel-preprocessor": "^6.0.1", | ||
"karma-chai-sinon": "^0.1.5", | ||
"karma-coverage": "^1.1.1", | ||
"karma-growler-reporter": "0.0.2", | ||
"karma-mocha": "^1.3.0", | ||
"karma-phantomjs-launcher": "^1.0.2", | ||
"karma-webpack": "^1.8.1", | ||
"mocha": "^3.2.0", | ||
"rimraf": "^2.6.2", | ||
"sinon": "^1.17.7", | ||
"sinon-chai": "^2.8.0", | ||
"ts-loader": "^1.2.2", | ||
"ts-node": "^1.2.1", | ||
"tslint": "^4.0.2", | ||
"tslint-loader": "^3.2.1", | ||
"typescript": "~2.0.3", | ||
"webpack": "^2.2.1" | ||
"rimraf": "^2.6.2" | ||
}, | ||
@@ -81,0 +61,0 @@ "dependencies": { |
@@ -13,3 +13,3 @@ import chai from 'chai'; | ||
jsonref, | ||
} from './module'; | ||
} from '.'; | ||
@@ -16,0 +16,0 @@ chai.should(); |
{ | ||
"extends": "../../node_modules/@talend/scripts-config-typescript/tsconfig.json", | ||
"include": ["src/**/*"], | ||
"compilerOptions": { | ||
"allowJs": true, | ||
"declaration": false, | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"lib": [ "es6" ], | ||
"mapRoot": "./", | ||
"module": "commonjs", | ||
"moduleResolution": "classic", | ||
"noImplicitAny": false, | ||
"outDir": "./dist/", | ||
"removeComments": false, | ||
"sourceMap": true, | ||
"target": "es6", | ||
"typeRoots": [ | ||
"../node_modules/@types" | ||
] | ||
}, | ||
"files": [ | ||
"src/lib/index.ts" | ||
], | ||
"compileOnSave": false, | ||
"buildOnSave": false | ||
"declaration": true, | ||
"target": "ES5", | ||
"module": "CommonJs" | ||
} | ||
} |
@@ -1,71 +0,5 @@ | ||
/* global __dirname */ | ||
const webpack = require('webpack'); | ||
const path = require('path'); | ||
const package = require('./package.json'); | ||
const buildDate = new Date(); | ||
console.log('JSON Schema Form Core v' + package.version); | ||
const plugins = [ | ||
new webpack.BannerPlugin( | ||
'json-schema-form-core\n' + | ||
'@version ' + package.version + '\n' + | ||
'@date ' + buildDate.toUTCString() + '\n' + | ||
'@link https://github.com/json-schema-form/json-schema-form-core\n' + | ||
'@license MIT\n' + | ||
'Copyright (c) 2014-' + buildDate.getFullYear() + ' JSON Schema Form'), | ||
/* Minification only occurs if the output is named .min */ | ||
new webpack.optimize.UglifyJsPlugin( | ||
{ | ||
include: /\.min\.js$/, | ||
minimize: true | ||
}) | ||
]; | ||
let library = 'JSONSchemaFormCore'; | ||
module.exports = { | ||
entry: { | ||
"json-schema-form-core": [ path.join(__dirname, 'src', 'module') ] | ||
}, | ||
output: { | ||
path: path.join(__dirname, 'dist'), | ||
filename: '[name].js', | ||
library: library, | ||
libraryTarget: 'commonjs2' | ||
}, | ||
resolve: { | ||
modules: [ | ||
path.join(__dirname, "src"), | ||
path.join(__dirname, "src/lib"), | ||
"node_modules" | ||
], | ||
extensions: [ '.ts', '.js' ] | ||
}, | ||
target: 'node', | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.js$/, | ||
use: [{ | ||
loader: 'babel-loader', | ||
options: { | ||
babelrc: false, | ||
presets: [ | ||
["es2015", { "modules": false }] | ||
], | ||
plugins: [ "transform-flow-strip-types" ] | ||
} | ||
}], | ||
exclude: /node_modules/ | ||
}, | ||
{ | ||
test: /\.ts/, | ||
use: [ 'babel-loader', 'ts-loader' ], | ||
exclude: /node_modules/ | ||
} | ||
] | ||
}, | ||
devtool: 'source-map', | ||
externals: { | ||
'tv4': 'var tv4', | ||
}, | ||
plugins: plugins | ||
output: { | ||
filename: 'index.js', | ||
}, | ||
}; |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1601271
15
1
35
7739